------- Comment #2 from rguenth at gcc dot gnu dot org 2009-07-10 08:35 ------- Confirmed.
(gdb) up #1 0x084bdc54 in gen_type_die_with_usage (type=0xb7d78ee0, context_die=0xb7fde680, usage=DINFO_USAGE_DIR_USE) at /home/richard/src/trunk/gcc/dwarf2out.c:15117 15117 gcc_assert (DECL_ORIGINAL_TYPE (TYPE_NAME (type)) != type); (gdb) call debug_tree (type) <enumeral_type 0xb7d78ee0 type type <integer_type 0xb7d78b60 unsigned int public unsigned type_6 SI size <integer_cst 0xb7cbe508 constant 32> unit size <integer_cst 0xb7cbe2f4 constant 4> align 32 symtab 0 alias set -1 canonical type 0xb7ccf380 precision 32 min <integer_cst 0xb7d70d90 0> max <integer_cst 0xb7d70dac 1> pointer_to_this <pointer_type 0xb7d6d930>> unsigned SI size <integer_cst 0xb7cbe508 32> unit size <integer_cst 0xb7cbe2f4 4> align 32 symtab 0 alias set -1 canonical type 0xb7d78ee0 precision 32 min <integer_cst 0xb7d70850 0> max <integer_cst 0xb7d70dc8 1> context <record_type 0xb7d78d20 foo> chain <type_decl 0xb7d78f50 ._0>> -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|c++ |debug Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-07-10 08:35:45 date| | Summary|Using -ggdb flag cause |[4.5 Regression] ICE in |internal error |gen_type_die_with_usage, at | |dwarf2out.c:15117 Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40705