cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in always_inline pass.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Sun, 6 Jun 2004 13:03:08 +0000 (15:03 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 6 Jun 2004 13:03:08 +0000 (13:03 +0000)
* cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in
always_inline pass.

From-SVN: r82668

gcc/ChangeLog
gcc/cgraphunit.c

index 656781edc1974e0d2a30d75168eb9210e1248358..2896c089b1c35091c238c572d7cdd51c47fe6329 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in
+       always_inline pass.
+
 2004-06-05  David S. Miller  <davem@nuts.davemloft.net>
 
        * config/sparc/linux.h (TARGET_C99_FUNCTIONS): Set.
index cbb924c58f2708a8cf432c05b72a70db3f4029c0..80fe8ce5d5af8409a542b754810e543ba82713c9 100644 (file)
@@ -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,