From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29421 invoked by alias); 16 Nov 2011 18:30:52 -0000 Received: (qmail 29410 invoked by uid 22791); 16 Nov 2011 18:30:50 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Wed, 16 Nov 2011 18:30:33 +0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/51174] AIX unexpected error_mark node in new TM tests Date: Wed, 16 Nov 2011 19:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje 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: --- 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 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-11/txt/msg01693.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51174 --- Comment #5 from David Edelsohn 2011-11-16 18:30:29 UTC --- The rs6000.c failure looks like rs6000_xcoff_section_type_flags() should deal with decl == NULL. But the other similar failure is in trans-mem.c: (gdb) where #0 internal_error ( gmsgid=0x10bcf1dc "tree check: %s, have %s in %s, at %s:%d") at /farm/dje/src/src/gcc/diagnostic.c:844 #1 0x10131540 in tree_check_failed (node=0x0, file=0x10c68e50 "/farm/dje/src/src/gcc/trans-mem.c", line=4107, function=0x10c68ec8 "tm_mangle") at /farm/dje/src/src/gcc/tree.c:8815 #2 0x10881f00 in tm_mangle (old_asm_id=0x0) at /farm/dje/src/src/gcc/trans-mem.c:4107 #3 0x1088ca48 in ipa_tm_execute () at /farm/dje/src/src/gcc/trans-mem.c:8862 #4 0x1019f6e8 in execute_one_pass (pass=0x300f7d7c) at /farm/dje/src/src/gcc/passes.c:2074 #5 0x101a0104 in execute_ipa_pass_list (pass=0x300f7d7c) at /farm/dje/src/src/gcc/passes.c:2441 #6 0x1048eb38 in cgraph_optimize () at /farm/dje/src/src/gcc/cgraphunit.c:4155 #7 0x1048f2a8 in cgraph_finalize_compilation_unit () at /farm/dje/src/src/gcc/cgraphunit.c:1327 #8 0x109453b8 in cp_write_global_declarations () at /farm/dje/src/src/gcc/cp/decl2.c:4050 #9 0x100031a8 in toplev_main (argc=4, argv=0x2ff22268) at /farm/dje/src/src/gcc/toplev.c:581 #10 0x100003a0 in main (argc=280818140, argv=0x2ff21d90) at /farm/dje/src/src/gcc/main.c:36 DECL_COMDAT_GROUP (new_decl) = tm_mangle (DECL_COMDAT_GROUP (old_decl)); (gdb) print old_decl $3 = 0x700d6000 (gdb) pt > SI size unit size align 32 symtab 0 alias set -1 canonical type 700d4d20 attributes local bindings <0>>> method basetype arg-types chain >> pointer_to_this > addressable used public static weak autoinline decl_5 SI defer-output file /farm/dje/src/src/gcc/testsuite/g++.dg/tm/pr45940-3.C line 53 col 5 align 32 context initial abstract_origin arguments readonly unsigned SI size unit size align 32 symtab 0 alias set -1 canonical type 700d4de0> readonly used unsigned SI file /farm/dje/src/src/gcc/testsuite/g++.dg/tm/pr45940-3.C line 53 col 19 size unit size align 32 context abstract_origin arg-type > result ignored VOID file /farm/dje/src/src/gcc/testsuite/g++.dg/tm/pr45940-3.C line 56 col 5 align 8 context > full-name "shared_count::~shared_count()" pending-inline-info 700d7b00 struct-function 700da2a0> (gdb) print new_decl $4 = 0x700e5480 (gdb) pt > SI size unit size align 32 symtab 0 alias set -1 canonical type 700d4d20 attributes local bindings <0>>> method basetype arg-types chain >> pointer_to_this > addressable used public static weak autoinline decl_5 SI defer-output file /farm/dje/src/src/gcc/testsuite/g++.dg/tm/pr45940-3.C line 53 col 5 align 32 context initial abstract_origin arguments readonly unsigned SI size unit size align 32 symtab 0 alias set -1 canonical type 700d4de0> readonly used unsigned SI file /farm/dje/src/src/gcc/testsuite/g++.dg/tm/pr45940-3.C line 53 col 19 size unit size align 32 context abstract_origin arg-type > result ignored VOID file /farm/dje/src/src/gcc/testsuite/g++.dg/tm/pr45940-3.C line 56 col 5 align 8 context > full-name "shared_count::~shared_count()" pending-inline-info 700d7b00 struct-function 700da2a0>