https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93978 Bug 93978 depends on bug 94038, which changed state.
Bug 94038 Summary: [9/10 Regression] Compiling with -Wall causes function template body to get needlessly instantiated https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94038 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED