From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6461 invoked by alias); 24 Oct 2002 18:39:24 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 6413 invoked from network); 24 Oct 2002 18:39:23 -0000 Received: from unknown (HELO monsoon.nj.caldera.com) (68.52.213.60) by sources.redhat.com with SMTP; 24 Oct 2002 18:39:23 -0000 Received: by monsoon.nj.caldera.com (8.9.3/SCO5) id NAA01608 for gcc@gcc.gnu.org; Thu, 24 Oct 2002 13:39:21 -0500 (CDT) Date: Thu, 24 Oct 2002 21:15:00 -0000 From: Robert Lipe To: "gcc@gcc.gnu.org" Subject: Re: 3.2 branch/openserver g++ test results looking bad Message-ID: <20021024183921.GG23898@rjlhome.caldera.com> Mail-Followup-To: "gcc@gcc.gnu.org" References: <20021023175229.GJ5058@rjlhome.caldera.com> <24980000.1035445270@warlock.codesourcery.com> <20021024160920.GC23898@rjlhome.caldera.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021024160920.GC23898@rjlhome.caldera.com> User-Agent: Mutt/1.3.25i X-SW-Source: 2002-10/txt/msg01500.txt.bz2 Armed with Mark's hint, GDB will play nice again. > > Set a breakpoint on default_globalize_label and see where the two > > calls are coming from. The two globalizations for the same symbol are happening here: (gdb) where #0 globalize_decl (decl=0x856e2a0) at /play/gcc-3.2/gcc/varasm.c:5128 #1 0x08311b2e in asm_emit_uninitialised (decl=0x856e2a0, name=0x8554ce9 "blah", size=4, rounded=16) at /play/gcc-3.2/gcc/varasm.c:1402 #2 0x083120cb in assemble_variable (decl=0x856e2a0, top_level=1, at_end=0, dont_output_data=0) at /play/gcc-3.2/gcc/varasm.c:1628 #3 0x082feb34 in rest_of_decl_compilation (decl=0x856e2a0, asmspec=0x0, top_level=1, at_end=0) at /play/gcc-3.2/gcc/toplev.c:2280 #4 0x08064094 in make_rtl_for_nonlocal_decl (decl=0x856e2a0, init=0x0, asmspec=0x0) at /play/gcc-3.2/gcc/cp/decl.c:8014 #5 0x08064928 in cp_finish_decl (decl=0x856e2a0, init=0x0, asmspec_tree=0x0, flags=0) at /play/gcc-3.2/gcc/cp/decl.c:8312 #6 0x080a7350 in parse_end_decl (decl=0x856e2a0, init=0x0, asmspec=0x0) at parse.y:162 #7 0x080ad1c1 in yyparse_1 () at parse.y:2128 #8 0x080f968f in yyparse () at /play/gcc-3.2/gcc/c-lex.c:164 #9 0x082fe83f in compile_file () at /play/gcc-3.2/gcc/toplev.c:2124 #10 0x08303c19 in do_compile () at /play/gcc-3.2/gcc/toplev.c:5215 #11 0x08303c7b in toplev_main (argc=2, argv=0x8047a34) at /play/gcc-3.2/gcc/toplev.c:5247 #12 0x080fb465 in main (argc=2, argv=0x8047a34) at /play/gcc-3.2/gcc/main.c:35 #13 0x0804971b in _start () and here: Breakpoint 5, asm_output_aligned_bss (file=0x84df2a8, decl=0x856e2a0, name=0x8554ce9 "blah", size=4, align=32) at /play/gcc-3.2/gcc/varasm.c:538 538 ASM_GLOBALIZE_LABEL (file, name); (gdb) where #0 asm_output_aligned_bss (file=0x84df2a8, decl=0x856e2a0, name=0x8554ce9 "blah", size=4, align=32) at /play/gcc-3.2/gcc/varasm.c:538 #1 0x08311b9c in asm_emit_uninitialised (decl=0x856e2a0, name=0x8554ce9 "blah", size=4, rounded=16) at /play/gcc-3.2/gcc/varasm.c:1433 #2 0x083120cb in assemble_variable (decl=0x856e2a0, top_level=1, at_end=0, dont_output_data=0) at /play/gcc-3.2/gcc/varasm.c:1628 #3 0x082feb34 in rest_of_decl_compilation (decl=0x856e2a0, asmspec=0x0, top_level=1, at_end=0) at /play/gcc-3.2/gcc/toplev.c:2280 #4 0x08064094 in make_rtl_for_nonlocal_decl (decl=0x856e2a0, init=0x0, asmspec=0x0) at /play/gcc-3.2/gcc/cp/decl.c:8014 #5 0x08064928 in cp_finish_decl (decl=0x856e2a0, init=0x0, asmspec_tree=0x0, flags=0) at /play/gcc-3.2/gcc/cp/decl.c:8312 #6 0x080a7350 in parse_end_decl (decl=0x856e2a0, init=0x0, asmspec=0x0) at parse.y:162 #7 0x080ad1c1 in yyparse_1 () at parse.y:2128 #8 0x080f968f in yyparse () at /play/gcc-3.2/gcc/c-lex.c:164 #9 0x082fe83f in compile_file () at /play/gcc-3.2/gcc/toplev.c:2124 #10 0x08303c19 in do_compile () at /play/gcc-3.2/gcc/toplev.c:5215 #11 0x08303c7b in toplev_main (argc=2, argv=0x8047a34) at /play/gcc-3.2/gcc/toplev.c:5247 #12 0x080fb465 in main (argc=2, argv=0x8047a34) at /play/gcc-3.2/gcc/main.c:35 #13 0x0804971b in _start ()