Bootstrap failure of gcc-ss-20010409 in ia64

Mark Mitchell mark@codesourcery.com
Wed Apr 18 15:31:00 GMT 2001


>>>>> "Jim" == Jim Wilson <wilson@cygnus.com> writes:

    >> - Copy the BLOCK tree.  - Generate code.  - Restore the
    >> original BLOCK tree, throwing away the copy.

    Jim> That is one solution.  Another solution is to modify
    Jim> dwarf2out.c to use the DECL_SAVED_TREE instead of the BLOCK
    Jim> tree for abstract instances.  Neither one should be
    Jim> particularly hard.

The DECL_SAVED_TREE approach is probably harder because the block tree
is not so clearly encoded there.

Is note_outlining_of_inline_function being called?  It looks like:

  void
  note_outlining_of_inline_function (fndecl)
       tree fndecl;
  {
  #ifdef DWARF2_DEBUGGING_INFO
    /* The DWARF 2 backend tries to reduce debugging bloat by not emitting
       the abstract description of inline functions until something tries to
       reference them.  Force it out now, before optimizations mangle the
       block tree.  */
    if (write_symbols == DWARF2_DEBUG)
      dwarf2out_abstract_function (fndecl);
  #endif
  }

>From the comment, it sounds like this code should be dealing with this
problem.  If this function isn't being called, then that's a front-end
bug -- but probably one that can be easily fixed.

Thanks,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc mailing list