This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22278] gcc -O2 discards cast to volatile
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2005 01:27:25 -0000
- Subject: [Bug c/22278] gcc -O2 discards cast to volatile
- References: <20050702164323.22278.olivier.baudron@m4x.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From joseph at codesourcery dot com 2005-07-03 01:27 -------
Subject: Re: gcc -O2 discards cast to volatile
On Sun, 3 Jul 2005, gcc2eran at tromer dot org wrote:
> Of course, but please forgive my ignorance -- where does does the standard
> prescribe these semantics? The N869 draft (I don't have the standard; is N869
> best fall-back?) says this:
Get the standard, not ancient drafts. As I pointed out on the gcc list a
while back, N1124 is the result of merging C99 with TC1 and TC2 and is
freely available on the WG14 site.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22278