------- Comment #2 from ubizjak at gmail dot com 2009-08-28 17:48 ------- Confirmed with "GNU C++ (GCC) version 4.4.2 20090823 (prerelease) [gcc-4_4-branch revision 151029] (x86_64-unknown-linux-gnu)"
Program received signal SIGSEGV, Segmentation fault. 0x0000000000499265 in lvalue_p_1 (ref=0x7fffefc076e0) at ../../gcc-svn/branches/gcc-4_4-branch/gcc/cp/tree.c:88 88 if (ref == current_class_ptr) backtrace: #0 0x0000000000499265 in lvalue_p_1 (ref=0x7fffefc076e0) at ../../gcc-svn/branches/gcc-4_4-branch/gcc/cp/tree.c:88 #1 0x00000000004994d9 in lvalue_p (ref=0x7ffff14c1a80) at ../../gcc-svn/branches/gcc-4_4-branch/gcc/cp/tree.c:248 #2 0x0000000000471737 in lvalue_or_else (ref=0x7ffff14c1a80, use=15, complain=tf_none) at ../../gcc-svn/branches/gcc-4_4-branch/gcc/cp/typeck.c:7426 #3 0x0000000000476998 in cp_build_unary_op (code=ADDR_EXPR, xarg=0x7fffefc076e0, noconvert=<value optimized out>, complain=tf_error) at ../../gcc-svn/branches/gcc-4_4-branch/gcc/cp/typeck.c:4666 #4 0x0000000000477481 in build_x_unary_op (code=ADDR_EXPR, xarg=0x7fffefc076e0, complain=tf_error) at ../../gcc-svn/branches/gcc-4_4-branch/gcc/cp/typeck.c:4174 #5 0x000000000042e15f in tsubst_copy_and_build (t=<value optimized out>, args=0x0, complain=tf_error, in_decl=0x0, function_p=0 '\0', integral_constant_expression_p=1 '\1') at ../../gcc-svn/branches/gcc-4_4-branch/gcc/cp/pt.c:11276 #6 0x000000000042da53 in tsubst_copy_and_build (t=<value optimized out>, args=0x0, complain=tf_error, in_decl=0x0, function_p=0 '\0', integral_constant_expression_p=1 '\1') at ../../gcc-svn/branches/gcc-4_4-branch/gcc/cp/pt.c:11205 #7 0x000000000042da53 in tsubst_copy_and_build (t=<value optimized out>, args=0x0, complain=tf_error, in_decl=0x0, function_p=0 '\0', -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to work| |4.5.0 Last reconfirmed|0000-00-00 00:00:00 |2009-08-28 17:48:16 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41183