From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 648 invoked by alias); 23 Feb 2015 08:19:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 606 invoked by uid 48); 23 Feb 2015 08:19:15 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63892] [5 Regression] gcc.dg/sibcall-3.c fails on darwin with -m32 Date: Mon, 23 Feb 2015 08:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg02469.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63892 --- Comment #23 from Iain Sandoe --- (In reply to Iain Sandoe from comment #22) > yeah, it's not right yet.. looking at this: > diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c > index e1af8bf..3b5553e 100644 > --- a/gcc/ipa-icf.c > +++ b/gcc/ipa-icf.c > @@ -658,13 +658,16 @@ sem_function::merge (sem_item *alias_item) > create_thunk =3D !stdarg_p (TREE_TYPE (alias->decl)); > create_alias =3D false; > /* When both alias and original are not overwritable, we can save > - the extra thunk wrapper for direct calls. */ > + the extra thunk wrapper for direct calls (providing that there > + are no other referring entries). */ > redirect_callers > =3D (!original_discardable > && !DECL_COMDAT_GROUP (alias->decl) > && alias->get_availability () > AVAIL_INTERPOSABLE > && original->get_availability () > AVAIL_INTERPOSABLE > - && !alias->instrumented_version); > + && !alias->instrumented_version > + && alias->ref_list.referring.is_empty() > + ); > } > else > { so overnight testing shows that this regresses iinline-5.c on Linux (the generated asm is the same barring label names, and the exe runs, but the du= mp scan fails). However, it completely trashes Java (on Darwin only) so=20 (a) there appears to be some Java code-gen that needs functions marked as virtual, externally-visible, but with no callers and no referrers)=E2=80=A6= needs some debugging. (b) Under what circumstances is it correct to remove an alias that has referrers? (since Linux seems to be doing that, and fails the iinline-5.c t= est without). ( c) there are other C/C++ test regressions on Darwin still - so more debug= ging is needed. >>From gcc-bugs-return-478138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 23 08:42:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22884 invoked by alias); 23 Feb 2015 08:42:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22822 invoked by uid 48); 23 Feb 2015 08:42:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65032] [5 Regression] ICE in reload_combine_note_use, at postreload.c:1556 on i686-linux-gnu Date: Mon, 23 Feb 2015 08:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg02470.txt.bz2 Content-length: 140 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65032 --- Comment #5 from Jakub Jelinek --- Started with r220060.