[Bug rtl-optimization/30545] Why does optimizer not move exp() out of loop

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 22 17:24:00 GMT 2007



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-01-22 17:24 -------
exp can set errno as defined by the C/C++ standard so it cannot be pulled out
of the loop.
you can work around this by using -fmath-errno which says the math builtins
don't set errno.


-- 

pinskia at gcc dot gnu dot org changed:

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


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



More information about the Gcc-bugs mailing list