[tree-ssa] Nit cleanup
law@redhat.com
law@redhat.com
Fri Apr 25 23:47:00 GMT 2003
A trivial cleanup I noticed while working on some code to eliminate
useless crud in the tree structures. It just moves the
call to rewrite_out_of_ssa into the same conditional as the
call to rewrite_into_ssa.
* tree-optimize.c (optimize_function_tree): Simplify slightly.
Index: tree-optimize.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-optimize.c,v
retrieving revision 1.1.4.35
diff -c -3 -p -r1.1.4.35 tree-optimize.c
*** tree-optimize.c 18 Apr 2003 05:07:24 -0000 1.1.4.35
--- tree-optimize.c 25 Apr 2003 23:44:31 -0000
*************** optimize_function_tree (fndecl)
*** 89,98 ****
if (flag_tree_dce)
tree_ssa_dce (fndecl);
- }
- if (n_basic_blocks > 0 && ! (errorcount || sorrycount))
- {
/* Rewrite the function out of SSA form. */
rewrite_out_of_ssa (fndecl);
}
--- 89,95 ----
More information about the Gcc-patches
mailing list