Hello, when invoking dump_access_tree_1 from gdb, I found out that it attempts to write to dump_file even though it should dump to its parameter f. I am about to fix it by the following obvious patch, after it passes bootstrap and testing on an x86_64-linux (along with more substantive patches).
Thanks, Martin 2017-06-12 Martin Jambor <mjam...@suse.cz> * tree-sra.c (dump_access_tree_1): Fix accidental dumping to stderr instead of f. --- gcc/tree-sra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.13.1