This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/35202] [4.1/4.2/4.3 Regression] exp->expf transformation incorrect with -fmath-errno
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Feb 2008 23:09:44 -0000
- Subject: [Bug tree-optimization/35202] [4.1/4.2/4.3 Regression] exp->expf transformation incorrect with -fmath-errno
- References: <bug-35202-230@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from joseph at codesourcery dot com 2008-02-14 23:09 -------
Subject: Re: [4.1/4.2/4.3 Regression] exp->expf
transformation incorrect with -fmath-errno
On Thu, 14 Feb 2008, rguenth at gcc dot gnu dot org wrote:
> Clarification would be much appreciated here, and I would like to effectively
> make our default (-ferrno-math -ftrapping-math) be changed to
> -fno-errno-math -ftrapping-math and providing math_errhandling ==
> MATH_ERREXCEPT
> by GCC, overriding the library.
Allowing this (not setting errno in certain cases) is an incompatible
quiet change in C99 relative to C90, so I'm not convinced it's a good idea
even in C99 mode.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35202