------- Comment #6 from davek at gcc dot gnu dot org 2010-07-11 12:56 ------- (In reply to comment #5) > Program received signal SIGSEGV, Segmentation fault. > 0x00000000006f25bd in lvalue_p_1 (ref=0x7ffff0c4fb98) at > ../../gcc-4.x/gcc/cp/tree.c:71 > 71 if (TREE_CODE (TREE_TYPE (ref)) == REFERENCE_TYPE) >
I don't even know what a one of these is: (gdb) call debug_tree (ref) <baselink 0x7fbc4880 type <lang_type 0x7ff7e580 unknown type type <lang_type 0x7ff7e580 unknown type> VOID align 1 symtab 0 alias set -1 canonical type 0x7ff7e580 pointer_to_this <lang_type 0x7ff7e580 unknown type> reference_to_this <lang_type 0x7ff7e580 unknown type>> functions <template_id_expr 0x7fbc48a0 arg 0 <overload 0x7fb540c8 type <lang_type 0x7ff7e580 unknown type> function <template_decl 0x7fb43e20 delete_disposer>> arg 1 <tree_vec 0x7fb54968 elt 0 <record_type 0x7fd148c0 A>>> binfo <tree_binfo 0x7fc973f0 type <record_type 0x7fd1b1c0 data_holder addressable needs-constructing type_4 type_5 type_6 BLK size <integer_cst 0x7fef09c0 constant 96> unit size <integer_cst 0x7fef09d8 constant 12> align 32 symtab 0 alias set -1 canonical type 0x7fd1b1c0 fields <field_decl 0x7fb36ea0 a> full-name "struct data_holder" needs-constructor needs-destructor X() X(constX&) this=(X&) n_parents=0 use_template=0 interface-unknown pointer_to_this <pointer_type 0x7fb37380> chain <type_decl 0x7fcecef0 data_holder>> private> access_binfo <tree_binfo 0x7fc973f0>> (gdb) This needs a C++ FE maintainer to take a look. -- davek at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2010-07-05 23:26:24 |2010-07-11 12:56:24 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44827