This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] Do not pass -Werror during linking


On Tue, Feb 7, 2012 at 10:11 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> This breaks LTO bootstrap because of warnings for apparently incompatible types
> at the interface between C and Ada. ?Given that it's very likely not possible
> to fix them all, let's keep accepting them.
>
> Tested on i586-suse-linux, applied on the mainline.

Can you try to extract a testcase (assuming it's just a single case?).
 We shouldn't
warn for layout-compatible types (but we may do so if for example struct
nesting differs).

Thanks,
Richard.

>
> 2012-02-07 ?Eric Botcazou ?<ebotcazou@adacore.com>
>
> ? ? ? ?* gcc-interface/Make-lang.in (GCC_LINKERFLAGS): New variable.
> ? ? ? ?(GCC_LINK): Use it.
>
>
> --
> Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]