https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117422
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-11-03 Known to fail| |3.4.6 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Keywords| |rejects-valid --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Note obvious workaround is to name the original template argument in the template definition of f to be T. Like so: ``` template<typename T> void f(); ``` I think this might be a dup too since this is an old old bug.