[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2023-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 Andrew Pinski changed: What|Removed |Added CC||Zahira.Ammarguellat at intel dot c

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2021-09-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 Richard Biener changed: What|Removed |Added Status|NEW |SUSPENDED --- Comment #9 from Richard B

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2020-09-18 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 --- Comment #8 from Matthias Kretz (Vir) --- I've been doing a lot of research into the numeric_limits intent/meaning recently. I also implemented and used alternative interpretations of "has NaN" and "is IEC559". My conclusion: std::numeric_limi

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2018-12-11 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 --- Comment #7 from Matthias Kretz --- Example showing the discrepancy: https://godbolt.org/z/D15m71 Also PR83875 is relevant wrt. giving different answers depending on function attributes.

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2018-12-11 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 Matthias Kretz changed: What|Removed |Added CC||kretz at kde dot org --- Comment #6 fro

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2018-05-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 --- Comment #5 from rguenther at suse dot de --- On Thu, 3 May 2018, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 > > --- Comment #4 from Jonathan Wakely --- > std::numeric_limits defines: > > stat

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2018-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 --- Comment #4 from Jonathan Wakely --- std::numeric_limits defines: static _GLIBCXX_USE_CONSTEXPR bool has_infinity = __FLT_HAS_INFINITY__; static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = __FLT_HAS_QUIET_NAN__; static _GLIB

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2018-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2018-03-19 Thread christ...@lipka-koeln.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 --- Comment #2 from Christoph Lipka --- Having dug a bit deeper, I notice another way in which NaNs are broken in -ffinite-math-only mode: Normally, NaNs should always compare NON-EQUAL, even when compared to itself. In -ffinite-math-only mode,

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Com