[PATCH] Increase MAX_ALIASED_VOPS for fortran

Richard Guenther rguenther@suse.de
Thu Dec 14 15:26:00 GMT 2006


To get back pre-mem-ssa merge performance on Polyhedron.

Diego, would you mind doing the testing and committing?

Thanks,
Richard.


2006-12-14  Richard Guenther  <rguenther@suse.de>
	Diego Novillo  <dnovillo@redhat.com>

	* Make-lang.in (fortran/options.o): Add $(PARAMS_H) dependency.
	* options.c (params.h): Include.
	(gfc_post_options): Set MAX_ALIASED_VOPS to 50.

Index: fortran/Make-lang.in
===================================================================
*** fortran/Make-lang.in	(revision 119836)
--- fortran/Make-lang.in	(working copy)
*************** fortran/trans-intrinsic.o: $(GFORTRAN_TR
*** 299,302 ****
  fortran/dependency.o: $(GFORTRAN_TRANS_DEPS) fortran/dependency.h
  fortran/trans-common.o: $(GFORTRAN_TRANS_DEPS) $(TARGET_H) $(RTL_H)
  fortran/resolve.o: fortran/dependency.h
! fortran/options.o: $(TARGET_H)
--- 299,302 ----
  fortran/dependency.o: $(GFORTRAN_TRANS_DEPS) fortran/dependency.h
  fortran/trans-common.o: $(GFORTRAN_TRANS_DEPS) $(TARGET_H) $(RTL_H)
  fortran/resolve.o: fortran/dependency.h
! fortran/options.o: $(PARAMS_H) $(TARGET_H)
Index: fortran/options.c
===================================================================
*** fortran/options.c	(revision 119836)
--- fortran/options.c	(working copy)
*************** Software Foundation, 51 Franklin Street,
*** 29,34 ****
--- 29,35 ----
  #include "intl.h"
  #include "opts.h"
  #include "options.h"
+ #include "params.h"
  #include "tree-inline.h"
  
  #include "gfortran.h"
*************** gfc_post_options (const char **pfilename
*** 287,292 ****
--- 288,297 ----
    if (gfc_option.flag_all_intrinsics)
      gfc_option.warn_nonstd_intrinsics = 0;
  
+   /* Increase MAX_ALIASED_VOPS to account for different characteristics
+      of fortran regarding VOPs.  */
+   MAX_ALIASED_VOPS = 50;
+ 
    return false;
  }
  



More information about the Gcc-patches mailing list