[Bug c++/53181] static_assert sees as non constant the comparison between a constexpr and a template argument

2021-08-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181 --- Comment #7 from Jonathan Wakely --- GCC 7 accepts it in C++17 mode because of r241137 Implement P0386R2 - C++17 inline variables That's because an out-of-class definition is not needed in C++17, the compiler will generate one from the

[Bug c++/53181] static_assert sees as non constant the comparison between a constexpr and a template argument

2021-08-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-02-11 00:00:00 |2021-8-4 --- Comment #6 from Andrew

[Bug c++/53181] static_assert sees as non constant the comparison between a constexpr and a template argument

2019-02-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181 Martin Sebor changed: What|Removed |Added Known to fail|6.0 |6.3.0, 7.3.0, 8.2.0, 9.0 --- Comment #5

[Bug c++/53181] static_assert sees as non constant the comparison between a constexpr and a template argument

2016-03-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to

[Bug c++/53181] static_assert sees as non constant the comparison between a constexpr and a template argument

2014-11-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc dot

[Bug c++/53181] static_assert sees as non constant the comparison between a constexpr and a template argument

2012-10-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-18 14:45:00 UTC --- In the case of wrong_string, fold_comparison (called from cp_build_binary_op via fold_if_not_in_template) cannot fold the comparison to a

[Bug c++/53181] static_assert sees as non constant the comparison between a constexpr and a template argument

2012-05-12 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW