[PATCH] Minor ipa-utils dumping fix

2014-03-21 Thread Teresa Johnson
Minor dumping fix.
Bootstrapped and tested on x86_64-unknown-linux-gnu. Ok for stage 1?

Thanks,
Teresa

2014-03-21  Teresa Johnson  

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

-- 
Teresa Johnson | Software Engineer | tejohn...@google.com | 408-460-2413


Re: [PATCH] Minor ipa-utils dumping fix

2014-03-22 Thread Richard Biener
On March 22, 2014 2:40:37 AM CET, Teresa Johnson  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  
>
>* 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);
> }