This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/29887] wrong-code for errno handling on overflow/underflow


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]