diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ipa-inline.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr23408.c | 4 |
4 files changed, 15 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 296a2cd..d192d0a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-08-18 Andrew Pinski <pinskia@physics.uc.edu> + + PR middle-end/23408 + * ipa-inline.c (cgraph_decide_inlining_incrementally): Remove the + call to ggc_collect. + 2005-08-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/21268 diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 15a2af0..0c6dc99 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1073,7 +1073,6 @@ cgraph_decide_inlining_incrementally (struct cgraph_node *node, bool early) node->local.self_insns = node->global.insns; current_function_decl = NULL; pop_cfun (); - ggc_collect (); } return inlined; } diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c896f32..5244e71 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-08-28 Andrew Pinski <pinskia@physics.uc.edu> + + PR middle-end/23408 + * gcc.dg/pr23408.c: New test. + 2005-08-28 Mark Mitchell <mark@codesourcery.com> PR c++/23099 diff --git a/gcc/testsuite/gcc.dg/pr23408.c b/gcc/testsuite/gcc.dg/pr23408.c new file mode 100644 index 0000000..ca8193f --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr23408.c @@ -0,0 +1,4 @@ +/* { dg-do compile } */ +/* { dg-options "--param ggc-min-expand=0 --param ggc-min-heapsize=0" } */ +static __inline__ int f () { return g (); } +int g () { return f (); } |