[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#164554: gcc-3.2: volatile not respected on alpha



On Mon, Oct 14, 2002 at 07:01:46PM -0400, Daniel Jacobowitz wrote:
>
> > My copy of C99 says:
> > 
> > 5    The least requirements on a conforming implementation are:
> >      - At sequence points, volatile objects are stable in the sense that previou
> >      s accesses are
> >          complete and subsequent accesses have not yet occurred.
> 
> Only volatile objects are required to be stable.  I believe that if "j"

That's right.  However, there is a sequence point between i++ and
j=6, so the previous access to i should be completed at that point.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: