This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: target/3506: weird behaviour when incrementing volatile ints
- From: rth at gcc dot gnu dot org
- To: 89949-quiet at bugs dot debian dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, herbert at gondor dot apana dot org dot au, nobody at gcc dot gnu dot org
- Date: 29 Mar 2002 10:42:35 -0000
- Subject: Re: target/3506: weird behaviour when incrementing volatile ints
- Reply-to: rth at gcc dot gnu dot org, 89949-quiet at bugs dot debian dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, herbert at gondor dot apana dot org dot au, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: weird behaviour when incrementing volatile ints
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Fri Mar 29 02:42:35 2002
State-Changed-Why:
GCC doesn't know what constitutes a reference to a volatile memory,
so it never performs operations on them directly. It will always
pull the value into a register first.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3506