This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR61070
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 6 May 2014 10:27:10 +0200 (CEST)
- Subject: [PATCH] Fix PR61070
- Authentication-results: sourceware.org; auth=none
Committed as obvious.
Richard.
2014-05-06 Richard Biener <rguenther@suse.de>
PR middle-end/61070
* bitmap.c (debug_bitmap): Dump to stderr, not stdout.
* tree-ssa-structalias.c (dump_solution_for_var): Likewise.
Index: gcc/bitmap.c
===================================================================
--- gcc/bitmap.c (revision 210097)
+++ gcc/bitmap.c (working copy)
@@ -2117,7 +2117,7 @@ debug_bitmap_file (FILE *file, const_bit
DEBUG_FUNCTION void
debug_bitmap (const_bitmap head)
{
- debug_bitmap_file (stdout, head);
+ debug_bitmap_file (stderr, head);
}
/* Function to print out the contents of a bitmap. Unlike debug_bitmap_file,
Index: gcc/tree-ssa-structalias.c
===================================================================
--- gcc/tree-ssa-structalias.c (revision 210097)
+++ gcc/tree-ssa-structalias.c (working copy)
@@ -5834,12 +5834,12 @@ dump_solution_for_var (FILE *file, unsig
fprintf (file, "\n");
}
-/* Print the points-to solution for VAR to stdout. */
+/* Print the points-to solution for VAR to stderr. */
DEBUG_FUNCTION void
debug_solution_for_var (unsigned int var)
{
- dump_solution_for_var (stdout, var);
+ dump_solution_for_var (stderr, var);
}
/* Create varinfo structures for all of the variables in the