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

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #3)
> Looks like GCC is trying to satisfy the flatten attribute at link time which
> is ignored by clang?

Yes, you're right:

% grep -D skip -R -i "flatten"
sna_glyphs.i:__attribute__((flatten)) static 
sna_glyphs.i:__attribute__((flatten)) static 
sna_glyphs.i:__attribute__((flatten)) static 

Deleting these three attributes "fixes" the issue.
Even a single flatten attribute is enough to cause problems.

Reply via email to