This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/68235] gimple optimisations always use global -fmath-errno setting
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Nov 2015 11:33:19 +0000
- Subject: [Bug tree-optimization/68235] gimple optimisations always use global -fmath-errno setting
- Auto-submitted: auto-generated
- References: <bug-68235-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68235
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-11-06
CC| |jsm28 at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. The solution for this specific case is to have distinct builtins
for
no-math-errno, like __builtin_sqrt_no_math_errno ().
Note that slightly related is -frounding-math which causes math functions
to become pure rather than const (and thus get a VUSE).