--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-17
15:46 ---
So this is invalid so closing.
--
What|Removed |Added
Status|UNCONFIRMED
--- 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
--- Additional Comments From schwab at suse dot de 2004-11-17 13:45 ---
6.7.3#3: The properties associated with qualified types are meaningful only
for expressions that are lvalues.
This is not a constraint, so not an error.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18314