[tree-ssa] New failures after 2003-11-06 changes
Zdenek Dvorak
rakdver@atrey.karlin.mff.cuni.cz
Thu Nov 6 16:11:00 GMT 2003
Hello,
> New regressions in 20031106/gcc.sum.gz:
> FAIL: gcc.dg/tree-ssa/20030821-1.c scan-tree-dump-times dont_remove \(\) 1
> FAIL: gcc.dg/tree-ssa/20030824-1.c scan-tree-dump-times y \+ x 1
> FAIL: gcc.dg/tree-ssa/20030825-1.c scan-tree-dump-times bla 1
> FAIL: gcc.dg/tree-ssa/20031015-1.c scan-tree-dump-times VUSE 1
> FAIL: gcc.dg/tree-ssa/20031021-1.c scan-tree-dump-times a.i 1
> FAIL: gcc.dg/tree-ssa/asm-1.c scan-tree-dump-times 42 1
> FAIL: gcc.dg/tree-ssa/asm-1.c scan-tree-dump-times 63 1
these seem all to be caused by the fact that I have actually killed the
TDI_optimized dump. This patch should fix it.
Zdenek
* tree-ssa.c (rewrite_out_of_ssa): Don't throw away annotations
before the last dump.
Index: tree-ssa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-ssa.c,v
retrieving revision 1.1.4.145
diff -c -3 -p -r1.1.4.145 tree-ssa.c
*** tree-ssa.c 5 Nov 2003 13:39:24 -0000 1.1.4.145
--- tree-ssa.c 6 Nov 2003 15:04:20 -0000
*************** rewrite_out_of_ssa (tree fndecl, enum tr
*** 1888,1899 ****
/* Do some cleanups which reduce the amount of data the
tree->rtl expanders deal with. */
! remove_useless_stmts_and_vars (&DECL_SAVED_TREE (fndecl), true);
!
! /* Flush out flow graph and SSA data. */
! delete_tree_ssa (fndecl);
! delete_var_map (map);
! timevar_pop (TV_TREE_SSA_TO_NORMAL);
/* Debugging dumps. */
if (dump_file)
--- 1888,1894 ----
/* Do some cleanups which reduce the amount of data the
tree->rtl expanders deal with. */
! remove_useless_stmts_and_vars (&DECL_SAVED_TREE (fndecl), true);
/* Debugging dumps. */
if (dump_file)
*************** rewrite_out_of_ssa (tree fndecl, enum tr
*** 1901,1906 ****
--- 1896,1906 ----
dump_cfg_function_to_file (fndecl, dump_file, dump_flags);
dump_end (phase, dump_file);
}
+
+ /* Flush out flow graph and SSA data. */
+ delete_tree_ssa (fndecl);
+ delete_var_map (map);
+ timevar_pop (TV_TREE_SSA_TO_NORMAL);
}
More information about the Gcc-patches
mailing list