This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/21580] Less-than-ideal code generation for incrementing volatile variables



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]