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

2008-09-21 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2008-09-21 12:20 ---
We don't try to optimize volatile accesses.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


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



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

2008-09-21 Thread sam at gcc dot gnu dot org


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