https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78645
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Well, after changing the static_assert to static_assert (check (2, check), ""); this ICEs already starting with r217663 with -std=c++1y, when C++14 constexpr were implemented. With -fpermissive this isn't even error-recovery bug, we just warn. I think cxx_eval_call_expression should recognize this and punt.