------- Comment #10 from dave at hiauly1 dot hia dot nrc dot ca 2009-03-07 16:52 ------- Subject: Re: [4.4 Regression] ICE at dwarf2out.c:10353 in loc_descriptor_from_tree_1
> Can you reproduce it with stage1 cc1plus (or non-bootstrapped cc1plus) built > by > some older gcc, or only with stage2/stage3 cc1plus? Wonder if cc1plus hasn't > been miscompiled. In any case, as this can't be reproduced with a > cross-compiler, somebody with hppa-linux access needs to debug it. I can't reproduce it with stage1 cc1plus, only with stage2/stage3 cc1plus. The bug appeared after the following change: 2009-03-01 Jan Hubicka <j...@suse.cz> PR debug/39267 * tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS, Looking at dwarf2out.c, I see: case PARM_DECL: if (DECL_HAS_VALUE_EXPR_P (loc)) return loc_descriptor_from_tree_1 (DECL_VALUE_EXPR (loc), want_address); (gdb) p loc->decl_common.decl_flag_3 $11 = 1 but DECL_VALUE_EXPR (loc) returns NULL_TREE. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355