[Bug tree-optimization/24146] Optimizes away FPU control word store

rearnsha at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 30 13:58:00 GMT 2005


------- Additional Comments From rearnsha at gcc dot gnu dot org  2005-09-30 13:58 -------
(In reply to comment #1)
> volatile is needed here.

No, the manual says:
An @code{asm} instruction without any output operands will be treated
identically to a volatile @code{asm} instruction.

So this insn should be kept even though it isn't explicitly volatile.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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



More information about the Gcc-bugs mailing list