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]

[tuples][committed] Enable pass_free_cfg_annotations


This patch just enables pass_free_cfg_annotations that works with
tuples already.

Approved by Diego Novillo off list.

      * tree-optimize.c (pass_free_cfg_annotations): Flip
      works_with_tuples_p.
      * passes.c (init_optimization_passes): Enable
      pass_free_cfg_annotations.


Cheers,
-- 
Rafael Avila de Espindola

Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland

Registered in Dublin, Ireland
Registration Number: 368047
Index: gcc/ChangeLog.tuples
===================================================================
--- gcc/ChangeLog.tuples	(revision 131977)
+++ gcc/ChangeLog.tuples	(working copy)
@@ -1,3 +1,10 @@
+2008-01-31  Rafael Espindola  <espindola@google.com>
+
+	* tree-optimize.c (pass_free_cfg_annotations): Flip
+	works_with_tuples_p.
+	* passes.c (init_optimization_passes): Enable
+	pass_free_cfg_annotations.
+
 2008-01-30  Diego Novillo  <dnovillo@google.com>
 
 	http://gcc.gnu.org/ml/gcc-patches/2008-01/msg01461.html
Index: gcc/tree-optimize.c
===================================================================
--- gcc/tree-optimize.c	(revision 131977)
+++ gcc/tree-optimize.c	(working copy)
@@ -269,7 +269,7 @@
   0,					/* todo_flags_start */
   0,					/* todo_flags_finish */
   0					/* letter */
-  ,0					/* works_with_tuples_p */
+  ,1					/* works_with_tuples_p */
 };
 
 /* Pass: fixup_cfg.  IPA passes, compilation of earlier functions or inlining
Index: gcc/passes.c
===================================================================
--- gcc/passes.c	(revision 131977)
+++ gcc/passes.c	(working copy)
@@ -700,7 +700,11 @@
   NEXT_PASS (pass_warn_function_noreturn);
   NEXT_PASS (pass_free_datastructures);
   NEXT_PASS (pass_mudflap_2);
+#endif
+
   NEXT_PASS (pass_free_cfg_annotations);
+
+#if 0
   NEXT_PASS (pass_expand);
   NEXT_PASS (pass_rest_of_compilation);
     {

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