------- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-23 23:50 ------- A volatile asm is not a full barrier. Please read http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Extended-Asm.html.
" Note that even a volatile asm instruction can be moved relative to other code, including across jump instructions. For example, on many targets there is a system register which can be set to control the rounding mode of floating point operations. " This came about with the fix for PR 17884. *** This bug has been marked as a duplicate of 17884 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37631