This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29887] wrong-code for errno handling on overflow/underflow
- 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, 24 Feb 2017 08:16:32 +0000
- Subject: [Bug middle-end/29887] wrong-code for errno handling on overflow/underflow
- Auto-submitted: auto-generated
- References: <bug-29887-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29887
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |i?86-*-*
Status|WAITING |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |6.0
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note this bug mostly applied to -mfancy-math-387 -m32
[-funsafe-math-optimizations]. It seems the expand_errno_check() optimization
has been removed gradually and finally with
2015-11-17 Richard Sandiford <richard.sandiford@arm.com>
* builtins.c (expand_errno_check, expand_builtin_mathfn)
(expand_builtin_mathfn_2): Delete.
(expand_builtin): Remove handling of functions with
internal function equivalents.
...
Thus this is fixed fully since GCC 6.