https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70073
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- You can find out where __attribute__ exactly is being defined by adding -g3 and then looking at the preprocessed source for the define and trace it back that way.