http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52894

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> 2012-04-07 
01:40:20 UTC ---
(gdb) p *pset
$54 = {log_slots = 0, n_slots = 512, n_elements = 117, slots = 0x496c990}
(gdb) bt
#0  pointer_set_insert (pset=0x488ef70, p=0x40424300)
    at ../../gcc/gcc/pointer-set.c:143
#1  0x0338d004 in assemble_external (decl=0x40424300)
    at ../../gcc/gcc/varasm.c:2204
#2  0x00c7ebb0 in output_addr_const (file=0x4862ac0, x=0x4168c030)
    at ../../gcc/gcc/final.c:3568
#3  0x03425700 in pa_assemble_integer (x=0x4168c030, size=4, aligned_p=1)
    at ../../gcc/gcc/config/pa/pa.c:3192
#4  0x0338df20 in assemble_integer (x=0x4168c030, size=4, align=32, force=1)
    at ../../gcc/gcc/varasm.c:2502
#5  0x0342c100 in output_deferred_plabels ()
    at ../../gcc/gcc/config/pa/pa.c:5561
#6  0x01dbb10c in compile_file () at ../../gcc/gcc/toplev.c:681
#7  0x01dbfe3c in do_compile () at ../../gcc/gcc/toplev.c:1938
#8  0x01dc02bc in toplev_main (argc=1087218560, argv=0x4056f70)
    at ../../gcc/gcc/toplev.c:2014
#9  0x01dc02bc in toplev_main (argc=28, argv=0xfdf02024)
    at ../../gcc/gcc/toplev.c:2014
#10 0x00415c48 in main (argc=28, argv=0xfdf02024) at ../../gcc/gcc/main.c:36

The PA backend calls assemble_external via the TARGET_ASM_FILE_END
hook at the end of the compilation (i.e., after pset has been destroyed).

Reply via email to