Patchwork Minor ipa-utils dumping fix

login
register
mail settings
Submitter Teresa Johnson
Date March 22, 2014, 1:40 a.m.
Message ID <CAAe5K+VBr2CvotEfRxZAvaec70EywvaRAuxO+MhcZroybfLQmg@mail.gmail.com>
Download mbox | patch
Permalink /patch/332790/
State New
Headers show

Comments

Teresa Johnson - March 22, 2014, 1:40 a.m.
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.
Richard Guenther - March 22, 2014, 12:49 p.m.
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);
> }

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);
 }