This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
java indirect vtable change breaks for dwarf2
- From: Richard Henderson <rth at twiddle dot net>
- To: bryce at waitaki dot otago dot ac dot nz, gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Dec 2001 21:31:43 -0800
- Subject: java indirect vtable change breaks for dwarf2
We segfault under gen_struct_or_union_type_die at
/* We don't need to do this for function-local types. */
if (! decl_function_context (TYPE_STUB_DECL (type)))
add_incomplete_type (type);
compiling any file. The culprit appears to be
otable_type = make_node (RECORD_TYPE);
otable_ptr_type = build_pointer_type (otable_type);
which doesn't have nearly enough stuff filled in to be a
proper type.
You should be able to reproduce this on any target that
supports -gdwarf-2, but for the record, I'm testing alphaev6-linux.
r~