This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]