------- Comment #48 from danglin at gcc dot gnu dot org 2009-03-24 16:31 ------- On i686-apple-darwin9, this doesn't fail because DECL_HAS_VALUE_EXPR_P (loc) is not set:
(gdb) p debug_tree (loc) <parm_decl 0x12c4140 __y type <complex_type 0xf6dba0 complex double type <real_type 0xf6adb0 double sizes-gimplified asm_written type_6 DF size <integer_cst 0x1be1b80 constant 64> unit size <integer_cst 0x1be1bb0 constant 8> align 64 symtab 28208224 alias set 24 canonical type 0xf6adb0 precision 64 pointer_to_this <pointer_type 0xf6b0c0> reference_to_this <reference_type 0x11a3e10>> sizes-gimplified asm_written type_6 DC size <integer_cst 0x1a8d830 constant 128> unit size <integer_cst 0x1be1ca0 constant 16> align 64 symtab 28379296 alias set 26 canonical type 0xf6dba0 pointer_to_this <pointer_type 0xfdc4e0>> used DC file /Users/dave/gnu/gcc/objdir/i686-apple-darwin9/libstdc++-v3/include/complex line 993 col 60 size <integer_cst 0x1a8d830 128> unit size <integer_cst 0x1be1ca0 16> align 64 context <function_decl 0xcd7300 __complex_pow> arg-type <complex_type 0xf6dba0 complex double>> $15 = void (gdb) p loc->decl_common.decl_flag_3 $16 = 0 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355