[Bug c++/70380] SFINAE error with constexpr expressions referencing a non-const variable

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70380 --- Comment #4 from Andrew Pinski --- ICC rejects the template function f before even processing the statement. GCC, clang and MSVC rejects the same way.

[Bug c++/70380] SFINAE error with constexpr expressions referencing a non-const variable

2018-11-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70380 --- Comment #3 from Jonathan Wakely --- Both Clang and EDG also reject the same two statements.

[Bug c++/70380] SFINAE error with constexpr expressions referencing a non-const variable

2018-11-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70380 Eric Gallager changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/70380] SFINAE error with constexpr expressions referencing a non-const variable

2017-08-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70380 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|