https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108975
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |8.2.0 Keywords| |ice-on-valid-code, | |needs-bisection Target Milestone|--- |10.5 Known to fail| |8.3.0 Summary|Internal compiler error on |[10/11/12/13 Regression] |constexpr variable used as |Internal compiler error on |nontype template |constexpr variable used as | |nontype template --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >but g++ (10.4.0) and clang (14.0.0) compile the same code without any issues. Interesting because my reduced testcase also ICEs with GCC 10.4.0. Anyways it is still a regression between GCC 8.2.0 and GCC 8.3.0.