This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Minor ipa-utils dumping fix


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.

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 | tejohnson@google.com | 408-460-2413


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]