[Bug c++/71463] [6/7 regression] unexpected warning: ignoring function return attributes on template argument

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 10 14:03:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71463

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> I imagine it was to support using them on function pointers.

Yes, that is the reason why they apply to function types rather than decls.


More information about the Gcc-bugs mailing list