This is the mail archive of the gcc-patches@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-profiling] Fix MCF failure


Hi,
one bogus forgotten sanity check.

Honza

2005-01-25  Jan Hubicka  <jh@suse.cz>
	* ipa-inline.c (cgraph_decide_inlining_of_small_functions): Kill bogues
	assert check.
Index: ipa-inline.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/ipa-inline.c,v
retrieving revision 1.1.2.6
diff -c -3 -p -r1.1.2.6 ipa-inline.c
*** ipa-inline.c	15 Jan 2005 21:14:34 -0000	1.1.2.6
--- ipa-inline.c	25 Jan 2005 20:55:54 -0000
*************** cgraph_decide_inlining_of_small_function
*** 707,713 ****
      }
    while ((edge = fibheap_extract_min (heap)) != NULL)
      {
!       gcc_assert (edge->inline_failed && edge->aux);
        edge->aux = NULL;
        if (!edge->callee->local.disregard_inline_limits && edge->inline_failed
            && !cgraph_recursive_inlining_p (edge->caller, edge->callee,
--- 707,713 ----
      }
    while ((edge = fibheap_extract_min (heap)) != NULL)
      {
!       gcc_assert (edge->aux);
        edge->aux = NULL;
        if (!edge->callee->local.disregard_inline_limits && edge->inline_failed
            && !cgraph_recursive_inlining_p (edge->caller, edge->callee,


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