re PR debug/61070 (debug_bitmap writes to stdout)

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.

From-SVN: r210098
This commit is contained in:
Richard Biener 2014-05-06 08:30:57 +00:00 committed by Richard Biener
parent 6f07319115
commit 3d224d46b8
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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.
2014-05-05 Jan Hubicka <hubicka@ucw.cz>
PR ipa/60965

View File

@ -2117,7 +2117,7 @@ debug_bitmap_file (FILE *file, const_bitmap head)
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,

View File

@ -5834,12 +5834,12 @@ dump_solution_for_var (FILE *file, unsigned int var)
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