https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87765
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Since r10-6416 the test in Comment 4 no longer ICEs: 87765.C: In function ‘constexpr void t(X)’: 87765.C:3:51: error: call to non-‘constexpr’ function ‘int X::s()’ 3 | template<int> static constexpr void t(X x) { Y<x.s()> v;} | ~~~^~ 87765.C:3:51: note: in template argument for type ‘int’ The original test, however, still ICEs.