------- Comment #7 from danglin at gcc dot gnu dot org 2007-11-17 22:07 ------- This is decl. gdb crashes when I use print_tree:
(gdb) p debug_tree (decl) <type_decl 7adf60d0 long int type <integer_type 7aded000 long int sizes-gimplified public visited sizetype SI size <integer_cst 7ade2540 constant invariant visited 32> unit size <integer_cst 7ade22e0 constant invariant visited 4> align 32 symtab 0 alias set -1 canonical type 7aded6e8 precision 32 min <integer_cst 7ade27e0 -2147483648> max <integer_cst 7ade2860 2147483647>> VOID Program received signal SIGSEGV, Segmentation fault. 0x00ef4ce0 in linemap_lookup (set=0x7aedc000, line=2) at ../../gcc/libcpp/line-map.c:282 282 if (line >= cached->start_location) The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on" Evaluation of the expression containing the function (debug_tree) will be abandoned. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34098