diff options
author | Richard Biener <rguenther@suse.de> | 2014-05-06 08:30:57 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-05-06 08:30:57 +0000 |
commit | 3d224d46b893cdfa9c30c4dc7ad2b9a42b4071c4 (patch) | |
tree | 7799970f63357c07c61858178e61c7816d966032 /gcc | |
parent | 6f073191159dadc2a2a4bfc75d4c2b73a86eda92 (diff) | |
download | gcc-3d224d46b893cdfa9c30c4dc7ad2b9a42b4071c4.tar.gz |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/bitmap.c | 2 | ||||
-rw-r--r-- | gcc/tree-ssa-structalias.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 41dee8fac68..f9c71294f47 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/bitmap.c b/gcc/bitmap.c index 4855a6691ea..c4d81581f14 100644 --- a/gcc/bitmap.c +++ b/gcc/bitmap.c @@ -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, diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index c4f5f496cd3..0ab5f0953fe 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -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 |