[Bug c/22278] gcc -O2 discards cast to volatile
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 2 22:20:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-02 22:20 -------
(In reply to comment #13)
>
> It is also wrong-code.
This is the opposite view of what JSM said on IRC. Take it up with him if you believe otherwise.
Basically this is all implemention defined and since we did not document before, we have a chance to
define it to what we want.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22278
More information about the Gcc-bugs
mailing list