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 f129746490d91c3a057c810cbed25a4702d1c16e..2674815ed8d6e4eea8ce3aa7a5466a486ca60ca5 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 73296da524d844932844cd6f0a57f4ce37f6fe27..5b692e1ea9c0ac1f6652bfa7446f48dbe8d2b8b0 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);