From 2ddbba8007ac79d2f61fb8c02dd1a04d3c14d098 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sun, 6 Jun 2004 15:03:08 +0200 Subject: [PATCH] cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in always_inline pass. * cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in always_inline pass. From-SVN: r82668 --- gcc/ChangeLog | 5 +++++ gcc/cgraphunit.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 656781edc19..2896c089b1c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-06 Eric Botcazou + + * cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in + always_inline pass. + 2004-06-05 David S. Miller * config/sparc/linux.h (TARGET_C99_FUNCTIONS): Set. diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index cbb924c58f2..80fe8ce5d5a 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1482,7 +1482,7 @@ cgraph_decide_inlining (void) if (cgraph_dump_file) fprintf (cgraph_dump_file, "\nConsidering %s %i insns (always inline)\n", - cgraph_node_name (e->callee), e->callee->global.insns); + cgraph_node_name (node), node->global.insns); old_insns = overall_insns; for (e = node->callers; e; e = next) { @@ -1496,8 +1496,8 @@ cgraph_decide_inlining (void) if (cgraph_dump_file) fprintf (cgraph_dump_file, " Inlined into %s which now has %i insns.\n", - cgraph_node_name (node->callees->caller), - node->callees->caller->global.insns); + cgraph_node_name (e->caller), + e->caller->global.insns); } if (cgraph_dump_file) fprintf (cgraph_dump_file, -- 2.30.2