[Bug c++/101795] (x > QNaNf) is not a constant expression

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101795 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/101795] (x > QNaNf) is not a constant expression

2022-12-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101795 Martin Liška changed: What|Removed |Added CC||sayle at gcc dot gnu.org

[Bug c++/101795] (x > QNaNf) is not a constant expression

2022-12-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101795 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from

[Bug c++/101795] (x > QNaNf) is not a constant expression

2021-08-06 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101795 --- Comment #1 from Marc Glisse --- Hint: -fno-trapping-math lets it compile. It should probably be accepted in a manifestly_const_eval context, although some in the committee wanted to prevent the use of NaN (and sometimes even infinity!) in