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 tree-optimization/17884] [4.0 Regression] asm 'volatile' is not honored as documented


------- Additional Comments From amacleod at redhat dot com  2004-10-08 18:53 -------
It does whatever it use to do in the RTL part of the compiler. 4.0 hasnt changed
that, whatever it is.  I suspect the RTL optimizers are capable of removing
ASMs. So without volatile, the RTL backend might/could remove it.

IIn the future the tree optimizers might be smart enough to do something
differnt with ASMs, and then it could be relevent whether volatile is set or
not.  It just isn't right now.

-- 


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


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