https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115772
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, | |needs-bisection Target Milestone|--- |14.2 Blocks| |55004 Ever confirmed|0 |1 Version|12.2.0 |14.0 Last reconfirmed| |2024-07-03 Summary|static_assert does not |[14/15 Regression] |accept constexpr member |static_assert does not |function |accept constexpr member | |function Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC 13 and before I think are correct to reject this; MSVC, clang and EDG all reject this. GCC 14+ accept this seemly incorrectly. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 [Bug 55004] [meta-bug] constexpr issues