https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124133
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think the hook can't know if processing_template_decl or not (because it needs to be used both for C and C++).
jakub at gcc dot gnu.org via Gcc-bugs Tue, 17 Feb 2026 06:42:25 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124133
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think the hook can't know if processing_template_decl or not (because it needs to be used both for C and C++).