dump-parse-tree.c (show_expr): Also replace with dumpfile for showing values for...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 25 May 2017 12:21:22 +0000 (12:21 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 25 May 2017 12:21:22 +0000 (12:21 +0000)
2017-05-25  Thomas Koenig  <tkoenig@gcc.gnu.org>

* dump-parse-tree.c (show_expr):  Also replace
with dumpfile for showing values for forgotten
case.

From-SVN: r248456

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

index f129746..2674815 100644 (file)
@@ -1,3 +1,9 @@
+2017-05-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       * dump-parse-tree.c (show_expr):  Also replace
+       with dumpfile for showing values for forgotten
+       case.
+
 2017-05-24  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        * dump-parse-tree.c (show_expr):  Replace stdout
index 73296da..5b692e1 100644 (file)
@@ -456,7 +456,7 @@ show_expr (gfc_expr *p)
 
          fputc (' ', dumpfile);
 
-         mpfr_out_str (stdout, 10, 0, mpc_imagref (p->value.complex),
+         mpfr_out_str (dumpfile, 10, 0, mpc_imagref (p->value.complex),
                        GFC_RND_MODE);
          if (p->ts.kind != gfc_default_complex_kind)
            fprintf (dumpfile, "_%d", p->ts.kind);