[Bug c++/37631] non-volatile asm passes volatile asm (-O3)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 23 23:52:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list