summaryrefslogtreecommitdiff
path: root/gcc/fortran/dump-parse-tree.c
diff options
context:
space:
mode:
authorThomas Koenig <tkoenig@gcc.gnu.org>2017-05-25 12:21:22 +0000
committerThomas Koenig <tkoenig@gcc.gnu.org>2017-05-25 12:21:22 +0000
commit8442a5fbf0a061a9cec06118218218c12e499095 (patch)
treeec7b83b283352d7f13580d9a69823eb03a8e3959 /gcc/fortran/dump-parse-tree.c
parentcdfee50a5b6eccc12a579bf4de6a3ab0d7105a43 (diff)
downloadgcc-8442a5fbf0a061a9cec06118218218c12e499095.tar.gz
dump-parse-tree.c (show_expr): Also replace with dumpfile for showing values for forgotten case.
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
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
-rw-r--r--gcc/fortran/dump-parse-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c
index 73296da524d..5b692e1ea9c 100644
--- a/gcc/fortran/dump-parse-tree.c
+++ b/gcc/fortran/dump-parse-tree.c
@@ -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);