[tree-ssa] Mainline merge as of 2004-03-03
Diego Novillo
dnovillo@redhat.com
Thu Mar 4 15:48:00 GMT 2004
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;
More information about the Gcc
mailing list