[Bug c/18314] Abnormal behavior in optimization

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 17 13:08:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-17 13:08 -------
I think you want:
*(volatile int*)&test

volatile only matters on pointers and types of variables and not casts IIRC.

-- 


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



More information about the Gcc-bugs mailing list