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]

[pretty-ipa, committed] Cleanup passes.c


Hi,

cleanup.c contained an ugly #if to switch between the old and new
SRA.  That is no longer necessary.

Martin


2009-06-08  Martin Jambor  <mjambor@suse.cz>

	* passes.c (init_optimization_passes): Remove references to
	pass_early_new_sra and pass_new_sra.

Index: isra/gcc/passes.c
===================================================================
--- isra.orig/gcc/passes.c
+++ isra/gcc/passes.c
@@ -560,13 +560,9 @@ init_optimization_passes (void)
 	     alias information also rewrites no longer addressed
 	     locals into SSA form if possible.  */
 	  NEXT_PASS (pass_build_ealias);
-#if 0   /* !!!!!!!!!!!!! */
 	  NEXT_PASS (pass_sra_early);
-#else
-	  NEXT_PASS (pass_early_new_sra);
-#endif
  	  /* After SRA keeps the temporaries used to initialize structure fields:
-	   
+
 	     D.1599_3 = t();
 	     a$a_9 = D.1599_3;
 
@@ -636,11 +632,7 @@ init_optimization_passes (void)
       NEXT_PASS (pass_ch);
       NEXT_PASS (pass_stdarg);
       NEXT_PASS (pass_lower_complex);
-#if 0   /* !!!!!!!!!!!!! */
       NEXT_PASS (pass_sra);
-#else
-      NEXT_PASS (pass_new_sra);
-#endif
       NEXT_PASS (pass_rename_ssa_copies);
       NEXT_PASS (pass_dominator);
       /* The only const/copy propagation opportunities left after


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