https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89299
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- I agree that making attribute cleanup work with templates is low priority in C++ but I'm curious about the use case: can you describe what you are using the attribute for in C++? FWIW, I'm interested in this because the copy attribute and __builtin_has_attribute() function newly added in GCC 9 will ultimately need to handle templates so when the handling is implemented there we may be able to reuse it for this attribute as well.