https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed| |2024-08-20 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The testcase isn't complete, fn() isn't instantiated so I can't reproduce the issue. Adding void bar() { fn<int>(); } doesn't make it fail with GCC 11.1 for me.