------- 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