aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/dump-parse-tree.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2010-09-06 20:51:48 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2010-09-06 20:51:48 +0200
commitf973b6486953e926ee6795c879af3986e81967b1 (patch)
tree1784f887166a038798c3adae703561cfcb05822a /gcc/fortran/dump-parse-tree.c
parente6c2fc5dace4a6b80f65378578f4425515d7243b (diff)
downloadgcc-f973b6486953e926ee6795c879af3986e81967b1.zip
gcc-f973b6486953e926ee6795c879af3986e81967b1.tar.gz
gcc-f973b6486953e926ee6795c879af3986e81967b1.tar.bz2
re PR fortran/45560 (debugging: Add EXPR pretty printer (gfc_debug_expr))
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
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 3595518..14cd3bc 100644
--- a/gcc/fortran/dump-parse-tree.c
+++ b/gcc/fortran/dump-parse-tree.c
@@ -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;