[Bug tree-optimization/126695] Drop a redundant nested fmin or fmax
"jsm28 at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126695 --- Comment #1 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- Not valid with -fsignaling-nans (if x is sNaN and y is infinite, the nested call returns y but non-nested returns qNaN; this is essentially why IEEE 754-2019 introduced new max/min operations, which bind to different functions that are new in C23 rather than the older fmax / fmin).