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 fjahanian at apple dot com  2004-10-07 20:37 -------
From: http://gcc.gnu.org/onlinedocs/gcc-3.4.0/gcc/Extended-Asm.html#Extended%20Asm

The volatile keyword indicates that the instruction has important side-effects. GCC will not delete a 
volatile asm if it is reachable. (The instruction can still be deleted if GCC can prove that control-flow 
will never reach the location of the instruction.) In addition, GCC will not reschedule instructions across 
a volatile asm instruction. 

-- 


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]