From: Thomas Preudhomme <thomas.preudhomme@foss.arm.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: [arm-embedded] [PATCH, GCC/LTO, ping] Fix PR69866: LTO with def for weak alias in regular object file
Date: Tue, 20 Jun 2017 13:20:00 -0000 [thread overview]
Message-ID: <0e6bddf5-16e5-7f95-78fb-75b07d2c0e92@foss.arm.com> (raw)
In-Reply-To: <20170618195601.GG30427@atrey.karlin.mff.cuni.cz>
[-- Attachment #1: Type: text/plain, Size: 943 bytes --]
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.preudhomme@arm.com>
Backport from mainline
2017-06-15 Jan Hubicka <hubicka@ucw.cz>
Thomas Preud'homme <thomas.preudhomme@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.preudhomme@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 <hubicka@ucw.cz>
gcc/testsuite/
* gcc.dg/lto/pr69866_0.c: This test needs alias.
Best regards,
Thomas
[-- Attachment #2: Re: [PATCH, GCC/LTO, ping] Fix PR69866: LTO with def for weak alias in regular object file.eml --]
[-- Type: message/rfc822, Size: 3534 bytes --]
From: Jan Hubicka <hubicka@ucw.cz>
To: Dominique d'Humi??res <dominiq@lps.ens.fr>
Cc: hubicka Jan <hubicka@ucw.cz>, gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH, GCC/LTO, ping] Fix PR69866: LTO with def for weak alias in regular object file
Date: Sun, 18 Jun 2017 21:56:01 +0200
Message-ID: <20170618195601.GG30427@atrey.karlin.mff.cuni.cz>
> 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
next prev parent reply other threads:[~2017-06-20 13:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-17 16:32 Dominique d'Humières
2017-06-18 19:56 ` Jan Hubicka
2017-06-20 13:20 ` Thomas Preudhomme [this message]
[not found] <20170615122318.GC84372@kam.mff.cuni.cz>
2017-11-28 15:49 ` [arm-embedded] " Thomas Preudhomme
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0e6bddf5-16e5-7f95-78fb-75b07d2c0e92@foss.arm.com \
--to=thomas.preudhomme@foss.arm.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).