Hi,
We have decided to apply the referenced fix (r249352) to the
ARM/embedded-6-branch along with its initial commit (r249224) to fix an ICE with
LTO and aliases.
Fix PR69866
2017-06-20 Thomas Preud'homme <thomas.preudho...@arm.com>
Backport from mainline
2017-06-15 Jan Hubicka <hubi...@ucw.cz>
Thomas Preud'homme <thomas.preudho...@arm.com>
gcc/
PR lto/69866
* lto-symtab.c (lto_symtab_merge_symbols): Drop useless definitions
that resolved externally.
2017-06-15 Thomas Preud'homme <thomas.preudho...@arm.com>
gcc/testsuite/
PR lto/69866
* gcc.dg/lto/pr69866_0.c: New test.
* gcc.dg/lto/pr69866_1.c: Likewise.
Backport from mainline
2017-06-18 Jan Hubicka <hubi...@ucw.cz>
gcc/testsuite/
* gcc.dg/lto/pr69866_0.c: This test needs alias.
Best regards,
Thomas
--- Begin Message ---
> The new test fails on darwin with the usual
>
> FAIL: gcc.dg/lto/pr69866 c_lto_pr69866_0.o-c_lto_pr69866_1.o link, -O0 -flto
> -flto-partition=none
>
> IMO it requires a
>
> /* { dg-require-alias "" } */
Yep,I will add it shortly.
Honza
>
> directive.
>
> TIA
>
> Dominique
--- End Message ---