diff mbox

Minor ipa-utils dumping fix

Message ID CAAe5K+VBr2CvotEfRxZAvaec70EywvaRAuxO+MhcZroybfLQmg@mail.gmail.com
State New
Headers show

Commit Message

Teresa Johnson March 22, 2014, 1:40 a.m. UTC
Minor dumping fix.
Bootstrapped and tested on x86_64-unknown-linux-gnu. Ok for stage 1?

Thanks,
Teresa

2014-03-21  Teresa Johnson  <tejohnson@google.com>

        * ipa-utils.c (ipa_print_order): Use specified dump file.

Comments

Richard Biener March 22, 2014, 12:49 p.m. UTC | #1
On March 22, 2014 2:40:37 AM CET, Teresa Johnson <tejohnson@google.com> wrote:
>Minor dumping fix.
>Bootstrapped and tested on x86_64-unknown-linux-gnu. Ok for stage 1?

 It's OK now.
Thanks,
Richard.

>Thanks,
>Teresa
>
>2014-03-21  Teresa Johnson  <tejohnson@google.com>
>
>        * ipa-utils.c (ipa_print_order): Use specified dump file.
>
>Index: ipa-utils.c
>===================================================================
>--- ipa-utils.c (revision 208492)
>+++ ipa-utils.c (working copy)
>@@ -55,7 +55,7 @@ ipa_print_order (FILE* out,
>   fprintf (out, "\n\n ordered call graph: %s\n", note);
>
>   for (i = count - 1; i >= 0; i--)
>-    dump_cgraph_node (dump_file, order[i]);
>+    dump_cgraph_node (out, order[i]);
>   fprintf (out, "\n");
>   fflush (out);
> }
diff mbox

Patch

Index: ipa-utils.c
===================================================================
--- ipa-utils.c (revision 208492)
+++ ipa-utils.c (working copy)
@@ -55,7 +55,7 @@  ipa_print_order (FILE* out,
   fprintf (out, "\n\n ordered call graph: %s\n", note);

   for (i = count - 1; i >= 0; i--)
-    dump_cgraph_node (dump_file, order[i]);
+    dump_cgraph_node (out, order[i]);
   fprintf (out, "\n");
   fflush (out);
 }