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 tree-optimization/67971] Failure to unify conditional argument selection with conditional result selection


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67971

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ah, because they may be NaN if x or y were NaN.  Works ok with
-ffinite-math-only,
PRE already figures out the result is 1.

Thus invalid.

And thus if we performed this simplification on GENERIC somehow that was likely
an invalid transform.


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