From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20243 invoked by alias); 7 Jan 2014 13:07:21 -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 20194 invoked by uid 55); 7 Jan 2014 13:07:18 -0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/58585] [4.9 Regression] ICE in ipa with virtual inheritance Date: Tue, 07 Jan 2014 13:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2014-01/txt/msg00656.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58585 --- Comment #15 from Jan Hubicka --- > markus@x4 gcc % cat test.ii > class A { > void m(); > }; > void A::m() {} > > markus@x4 gcc % /var/tmp/gcc_build_dir_/./prev-gcc/xg++ > -B/var/tmp/gcc_build_dir_/./prev-gcc/ -r -nostdlib -flto -O2 -pipe test.ii > lto1: internal compiler error: in hash_type_name, at ipa-devirt.c:225 Grr, ignore the first hunks replacing DECL_VIRTUAL_P. I added them for separate issue (related one though - it happens when you have method virtually inheriting methods with virtual calls that is not polymorphic by itself. I will need to figure out separate fix for it). I am at meeting now, will prepare updated patch afterwards. Honza