[Bug lto/61123] With LTO, -fno-short-enums is ignored, resulting in ABI mis-matching in linking.

Hale.Wang at arm dot com gcc-bugzilla@gcc.gnu.org
Fri May 30 04:45:00 GMT 2014


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

--- Comment #4 from Hale Wang <Hale.Wang at arm dot com> ---
(In reply to Richard Biener from comment #3)
> It seems that Tag_ABI_PCS_wchar_t is emitted from the C-family frontends only
> via config/arm/arm-c.c (as opposed to any other Tags).  Probably because
> the option is c-family specific.  This code needs to move to generic handling
> (the option enum is shared across all frontends, so that's not a reason to
> keep it in a C specific file).

Thanks very much for your comments. So this seems to be a separate issue that
the Tag_ABI_PCS_wchar_t need to be moved to LTO frontend at least,but not only
the C frontend. May be I need to creat another patch or bug description for
this issue.



More information about the Gcc-bugs mailing list