This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[lno] scalar evolution does not depend on DCE2
- From: Pop Sébastian <pop at gauvain dot u-strasbg dot fr>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 3 Jan 2004 02:47:26 +0100
- Subject: [lno] scalar evolution does not depend on DCE2
* tree-optimize.c (optimize_function_tree): Move the closing brace of
DCE2 to the right place.
Index: tree-optimize.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-optimize.c,v
retrieving revision 1.1.4.98.2.2
diff -d -u -p -r1.1.4.98.2.2 tree-optimize.c
--- tree-optimize.c 1 Jan 2004 20:16:25 -0000 1.1.4.98.2.2
+++ tree-optimize.c 3 Jan 2004 01:35:02 -0000
@@ -238,6 +238,11 @@ optimize_function_tree (tree fndecl, tre
tree_ssa_dce (fndecl, TDI_dce_2);
ggc_collect ();
+#ifdef ENABLE_CHECKING
+ verify_ssa ();
+#endif
+ }
+
if (flag_scalar_evolutions || flag_tree_vectorize)
{
unsigned int i;
@@ -298,11 +303,6 @@ optimize_function_tree (tree fndecl, tre
finalize_scalar_evolutions_analyzer ();
loop_optimizer_finalize (loops, NULL);
}
- }
-
-#ifdef ENABLE_CHECKING
- verify_ssa ();
-#endif
}
/* Eliminate tail recursion calls and discover sibling calls. */