This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/30545] Why does optimizer not move exp() out of loop
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2007 17:24:16 -0000
- Subject: [Bug rtl-optimization/30545] Why does optimizer not move exp() out of loop
- References: <bug-30545-13965@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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