From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25625 invoked by alias); 17 Jun 2011 15:54:14 -0000 Received: (qmail 25612 invoked by uid 22791); 17 Jun 2011 15:54:12 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_XF X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 17 Jun 2011 15:53:58 +0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/49383] [4.7 regression] powerpc64-linux bootstrap failure due to ice in cgraph_only_called_directly_p X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: bergner 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: 4.7.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 17 Jun 2011 15:54:00 -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 X-SW-Source: 2011-06/txt/msg01594.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49383 --- Comment #2 from Peter Bergner 2011-06-17 15:53:39 UTC --- We die on this assert: gcc_assert (cgraph_function_or_thunk_node (node, NULL) == node); Here's a couple of dumps of the two decls if that helps. (gdb) frame 1 (gdb) ptree node->decl > SI size unit size align 32 symtab 0 alias set -1 canonical type 0xfffb6fe9108 method basetype arg-types chain >> pointer_to_this > addressable used public static decl_5 SI file /home/bergner/gcc/gcc-mainline-20110614/libstdc++-v3/libsupc++/array_type_info.cc line 29 col 1 align 32 context initial abstract_origin arguments readonly unsigned SI size unit size align 32 symtab 4095 alias set -1 canonical type 0xfffb6fe8fb8> readonly used unsigned SI file /home/bergner/gcc/gcc-mainline-20110614/libstdc++-v3/libsupc++/array_type_info.cc line 30 col 21 size unit size align 32 context abstract_origin arg-type > result ignored VOID file /home/bergner/gcc/gcc-mainline-20110614/libstdc++-v3/libsupc++/array_type_info.cc line 31 col 2 align 8 context > full-name "__cxxabiv1::__array_type_info::~__array_type_info()" pending-inline-info 0xfffb6d25c50 (mem:SI (symbol_ref:SI ("_ZN10__cxxabiv117__array_type_infoD1Ev") [flags 0x1] ) [0 S4 A32]) struct-function 0xfffb6e08890 chain > (gdb) p cgraph_function_or_thunk_node (node, NULL) $9 = (struct cgraph_node *) 0xfffb6fb9000 (gdb) ptree $9->decl > SI size unit size align 32 symtab 0 alias set -1 canonical type 0xfffb6fe9108 method basetype arg-types chain >> pointer_to_this > asm_written public static decl_5 SI file /home/bergner/gcc/gcc-mainline-20110614/libstdc++-v3/libsupc++/array_type_info.cc line 29 col 1 align 32 context initial abstract_origin arguments readonly unsigned SI size unit size align 32 symtab 4095 alias set -1 canonical type 0xfffb6fe8fb8> readonly used unsigned SI file /home/bergner/gcc/gcc-mainline-20110614/libstdc++-v3/libsupc++/array_type_info.cc line 30 col 21 size unit size align 32 context abstract_origin (mem/f/c/i:SI (plus:SI (reg/f:SI 113 sfp) (const_int 8 [0x8])) [0 this+0 S4 A32]) arg-type incoming-rtl (reg:SI 3 3 [ this ])> result ignored VOID file /home/bergner/gcc/gcc-mainline-20110614/libstdc++-v3/libsupc++/array_type_info.cc line 31 col 2 align 8 context > full-name "__cxxabiv1::__array_type_info::~__array_type_info()" pending-inline-info 0xfffb6d25b70 (mem:SI (symbol_ref:SI ("_ZN10__cxxabiv117__array_type_infoD2Ev") [flags 0x1] ) [0 S4 A32]) chain >