This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.2 branch/openserver g++ test results looking bad
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 ()