This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]