This is the mail archive of the gcc@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]

[tree-ssa] Mainline merge as of 2004-03-03


The only problem with this merge is that we now don't inline functions
when sorrycount||errorcount (see PR 13448), so the memory check we do in
cgraph_optimize can't be done if there have been errors.  This was
producing several noncompile and libstdc++ regressions.


Diego.

        * cgraphunit.c (cgraph_optimize): Do not do memory release
        check if there have been errors.

*** cgraphunit.c        2004/03/04 14:53:33     1.1
--- cgraphunit.c        2004/03/04 15:07:48
*************** cgraph_optimize (void)
*** 1766,1774 ****
      }
  #ifdef ENABLE_CHECKING
    verify_cgraph ();
!   /* Double check that all inline clones are gone and that all function bodies
!      has been released from memory.  */
!   if (flag_unit_at_a_time && !dump_enabled_p (TDI_all))
      {
        struct cgraph_node *node;
        bool error_found = false;
--- 1766,1776 ----
      }
  #ifdef ENABLE_CHECKING
    verify_cgraph ();
!   /* Double check that all inline clones are gone and that all
!      function bodies have been released from memory.  */
!   if (flag_unit_at_a_time
!       && !dump_enabled_p (TDI_all)
!       && !(sorrycount || errorcount))
      {
        struct cgraph_node *node;
        bool error_found = false;



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