re PR fortran/45560 (debugging: Add EXPR pretty printer (gfc_debug_expr))
authorTobias Burnus <burnus@net-b.de>
Mon, 6 Sep 2010 18:51:48 +0000 (20:51 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 6 Sep 2010 18:51:48 +0000 (20:51 +0200)
 2010-09-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45560
        * dump-parse-tree.c (gfc_debug_expr): Use stderr instead of stdout.

From-SVN: r163931

gcc/fortran/ChangeLog
gcc/fortran/dump-parse-tree.c

index 2d97608..26974bb 100644 (file)
@@ -1,6 +1,11 @@
 2010-09-06  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/45560
+       * dump-parse-tree.c (gfc_debug_expr): Use stderr instead of stdout.
+
+2010-09-06  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/45560
        * dump-parse-tree.c (gfc_debug_expr): New function.
 
 2010-09-06  Tobias Burnus  <burnus@net-b.de>
index 3595518..14cd3bc 100644 (file)
@@ -56,7 +56,7 @@ void
 gfc_debug_expr (gfc_expr *e)
 {
   FILE *tmp = dumpfile;
-  dumpfile = stdout;
+  dumpfile = stderr;
   show_expr (e);
   fputc ('\n', dumpfile);
   dumpfile = tmp;