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

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Does this happen with the c++ frontend? Or only the c frontend?

There are interesting rules about where gnu attributes will apply to return
types vs the function decl vs the function type.
So it night be clang not implementing those rules the same as gcc.

Note __attribute__ is a gnu extension first. Even though the attribute was
added for clang first.

Reply via email to