[Bug c/22278] gcc -O2 discards cast to volatile
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 2 16:48:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-02 16:48 -------
See PR 21568 and http://gcc.gnu.org/ml/gcc/2005-05/msg00085.html.
This is allowed by the C and C++ standards.
*** This bug has been marked as a duplicate of 21568 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22278
More information about the Gcc-bugs
mailing list