From 7aa923e02f598c1075f3acf1e5da946848515b36 Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Tue, 13 Jun 2017 13:32:02 +0200 Subject: [PATCH] Trivial fix in dump_access_tree_1 2017-06-13 Martin Jambor * tree-sra.c (dump_access_tree_1): Fix accidental dumping to stderr instead of f. From-SVN: r249152 --- gcc/ChangeLog | 5 +++++ gcc/tree-sra.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1f54c03b21..0f4f469a26c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-06-13 Martin Jambor + + * tree-sra.c (dump_access_tree_1): Fix accidental dumping to stderr + instead of f. + 2017-06-13 Yury Gribov * match.pd: New pattern. diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index f25818f4481..42879adbad1 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -470,7 +470,7 @@ dump_access_tree_1 (FILE *f, struct access *access, int level) int i; for (i = 0; i < level; i++) - fputs ("* ", dump_file); + fputs ("* ", f); dump_access (f, access, true); -- 2.30.2