This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] -Wreturn-type pass needs CFG, not SSA
- From: Paolo Bonzini <paolo dot bonzini at polimi dot it>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 22 Jun 2004 12:10:06 +0200
- Subject: [committed] -Wreturn-type pass needs CFG, not SSA
Committed as obvious.
Paolo
2004-06-22 Paolo Bonzini <bonzini@gnu.org>
* tree-cfg.c (pass_warn_function_return): It needs
CFG, not SSA.
Index: tree-cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-cfg.c,v
retrieving revision 2.18
diff -u -p -r2.18 tree-cfg.c
--- tree-cfg.c 22 Jun 2004 03:06:40 -0000 2.18
+++ tree-cfg.c 22 Jun 2004 08:00:49 -0000
@@ -4742,7 +4742,7 @@ struct tree_opt_pass pass_warn_function_
NULL, /* next */
0, /* static_pass_number */
0, /* tv_id */
- PROP_ssa, /* properties_required */
+ PROP_cfg, /* properties_required */
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */