[Bug ada/37604] Suboptimal code generation for volatile access

sam at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 21 12:25:00 GMT 2008



------- Comment #2 from sam at gcc dot gnu dot org  2008-09-21 12:23 -------
Well, in the second example I give (variable declared in the same compilation
unit), the access is optimized. What I don't get is the difference between both
cases, while the compiler does have the same information at its disposal.


-- 


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



More information about the Gcc-bugs mailing list