https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100279
--- Comment #3 from Bob Miller <bobmiller at nvidia dot com> --- Further minimized example. Same ICE. ICE is visible here: https://godbolt.org/z/o7M9nYYYE template<auto V> struct T {}; template<auto X> void f(T<X>) {} int main(int, char**) { f(T<-1.0>{}); f(T<-2.0>{}); return 0; }