------- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-18 00:21 ------- >omewhat also related, "(void)x;" still accesses memory when x is volatile -- > I suppose this might be desirable, however.
It is because you say to load from x. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21580