From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28469 invoked by alias); 10 Feb 2015 14:29: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 Received: (qmail 28419 invoked by uid 48); 10 Feb 2015 14:29:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65003] New: [5 Regression] -fsection-anchors ICE Date: Tue, 10 Feb 2015 14:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end 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: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc cf_gcctarget Message-ID: 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/msg01017.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65003 Bug ID: 65003 Summary: [5 Regression] -fsection-anchors ICE Product: gcc Version: 5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: hubicka at gcc dot gnu.org Target: armv7hl-linux-gnuaebi struct A { void operator= (A &); A (); }; struct B { A b; }; struct C { virtual bool foo (int &, bool) const; }; struct D : virtual C { bool foo (int &, bool) const; B e; }; struct F : D { F (int &, const int &, const A &); bool foo (int &, bool) const; }; bool D::foo (int &, bool) const {} F::F (int &, const int &, const A &) {} bool F::foo (int &, bool) const {} ICEs on armv7hl-linux-gnuaebi, with -O2 -fpic. I believe the bug has been introduced with r211045, but haven't verified it.