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 dalej at apple dot com  2004-10-08 21:04 -------
The question was discussed extensively in 2001.  The phrase
"In addition, GCC will not reschedule
instructions across a volatile asm instruction." 
was added here, by Mark Mitchell based on an earlier comment by rth.
http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01477.html
If you read the whole thread, rth is quite firm that 'asm volatile' is
a scheduling barrier.


-- 


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]