------- Comment #16 from pinskia at gcc dot gnu dot org 2007-01-10 22:51 ------- The type is correct when the decl is created: Breakpoint 3, build_decl_stat (code=RESULT_DECL, name=0x0, type=0xb7c55384) at ../../gcc/tree.c:3250 3250 t = make_node_stat (code PASS_MEM_STAT); (gdb) p debug_generic_expr (type) logical8 $1 = void (gdb) p debug_tree (type) <boolean_type 0xb7c55384 logical8 public unsigned DI size <integer_cst 0xb7c3b520 type <integer_type 0xb7c4d064 bit_size_type> constant invariant 64> unit size <integer_cst 0xb7c3b540 type <integer_type 0xb7c4d000> constant invariant 8> align 64 symtab 0 alias set -1 canonical type 0xb7c55384 precision 1 min <integer_cst 0xb7c3bb60 0> max <integer_cst 0xb7c3bba0 1> reference_to_this <reference_type 0xb7ca8320>>
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30406