[Bug middle-end/44928] volatile globals illegally ignored on optimization levels >0

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 14 09:12:00 GMT 2010



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-07-14 09:12 -------
Only the pointed-to value is volatile.  A volatile pointer would be

unsigned char * volatile ptr;


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44928



More information about the Gcc-bugs mailing list