------- Comment #4 from hjl dot tools at gmail dot com  2009-08-19 15:06 -------
(gdb) bt
#0  0x00000000005cec03 in is_empty_class (type=0xa5a5a5a5a5a5a5a5)
    at ../../src/gcc/cp/class.c:6524
#1  0x0000000000485555 in build_call_a (function=0x7ffff0593e40, n=1, 
    argarray=0x7fffffffc750) at ../../src/gcc/cp/call.c:357
#2  0x00000000004a1dc4 in build_cxx_call (fn=0x7ffff0593e40, nargs=1, 
    argarray=0x7fffffffc750) at ../../src/gcc/cp/call.c:5782
#3  0x00000000004a1d86 in build_over_call (cand=0x18fced0, flags=71, 
    complain=3) at ../../src/gcc/cp/call.c:5770
#4  0x00000000004a555d in build_new_method_call (instance=0x7ffff043b8c0, 
    fns=0x7ffff048c500, args=0x0, conversion_path=0x7ffff0409770, flags=71, 
    fn_p=0x0, complain=3) at ../../src/gcc/cp/call.c:6330
#5  0x0000000000681168 in build_dtor_call (exp=0x7ffff043b8c0, 
    dtor_kind=sfk_complete_destructor, flags=71)
    at ../../src/gcc/cp/init.c:2988
#6  0x0000000000681d16 in build_delete (type=0x7ffff03eb000, 
    addr=0x7ffff0491280, auto_delete=sfk_complete_destructor, flags=71, 
    use_global_delete=0) at ../../src/gcc/cp/init.c:3149
#7  0x0000000000502daa in cxx_maybe_build_cleanup (decl=0x7ffff043b8c0)
    at ../../src/gcc/cp/decl.c:12674
#8  0x00000000006bed0a in build_target_expr (decl=0x7ffff043b8c0, 
    value=0x7ffff0474c30) at ../../src/gcc/cp/tree.c:289
#9  0x00000000006c073f in build_cplus_new (type=0x7ffff03eb000, 
    init=0x7ffff0474fa0) at ../../src/gcc/cp/tree.c:447
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) f 0
#0  0x00000000005cec03 in is_empty_class (type=0xa5a5a5a5a5a5a5a5)
    at ../../src/gcc/cp/class.c:6524
6524      if (! CLASS_TYPE_P (type))
(gdb) p current_function_decl 
$9 = (tree) 0x0
(gdb) 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41119

Reply via email to