This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] Mainline merge as of 2004-03-03
- From: Diego Novillo <dnovillo at redhat dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 04 Mar 2004 10:48:36 -0500
- Subject: [tree-ssa] Mainline merge as of 2004-03-03
- Organization: Red Hat Canada
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;