------- Comment #4 from danglin at gcc dot gnu dot org 2006-03-31 15:04 ------- Breakpoint 1, make_decl_rtl (decl=0x40148880) at ../../gcc/gcc/varasm.c:968 968 gcc_assert (TREE_CODE (decl) != TYPE_DECL (gdb) list 963 || TREE_PUBLIC (decl) 964 || DECL_EXTERNAL (decl) 965 || DECL_REGISTER (decl)); 966 967 /* And that we were not given a type or a label. */ 968 gcc_assert (TREE_CODE (decl) != TYPE_DECL 969 && TREE_CODE (decl) != LABEL_DECL); 970 971 /* For a duplicate declaration, we can be called twice on the 972 same DECL node. Don't discard the RTL already made. */ (gdb) bt #0 make_decl_rtl (decl=0x40148880) at ../../gcc/gcc/varasm.c:968 #1 0x003a6adc in init_one_libfunc (name=<value optimized out>) at ../../gcc/gcc/optabs.c:5131 #2 0x000f1768 in init_exception_processing () at ../../gcc/gcc/cp/except.c:80 #3 0x0003878c in cxx_init_decl_processing () at ../../gcc/gcc/cp/decl.c:3250 #4 0x000b3760 in cxx_init () at ../../gcc/gcc/cp/lex.c:386 #5 0x0041dad4 in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at ../../gcc/gcc/toplev.c:1864 #6 0x403566d8 in __libc_start_main () from /lib/libc.so.6 #7 0x0001d190 in _start () at ../sysdeps/hppa/elf/start.S:84 (gdb) p debug_tree (decl) <function_decl 0x40148880 __gxx_personality_v0 type <function_type 0x400db540 type <integer_type 0x400d22a0 int public SI size <integer_cst 0x400c22b8 constant invariant 32> unit size <integer_cst 0x400c2048 constant invariant 4> align 32 symtab 0 alias set -1 precision 32 min <integer_cst 0x400c2270 -2147483648> max <integer_cst 0x400c2288 2147483647> pointer_to_this <pointer_type 0x400d2cc0>> SI size <integer_cst 0x400c22b8 32> unit size <integer_cst 0x400c2048 4> align 32 symtab 0 alias set -1> public external SI file <built-in> line 0> $1 = void
-- danglin at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danglin at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957