https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96979
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[8/9/10/11 Regression] |[9/10/11 Regression] Switch |Switch with case values |with case values derived |derived from constexpr |from constexpr function |function takes unreasonable |takes unreasonable time to |time to compile |compile Known to work| |11.0 --- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- GCC 8.x should be fine, compilation finished in 2 seconds.