OSDN Git Service

2006-12-14 Richard Guenther <rguenther@suse.de>
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Dec 2006 19:39:44 +0000 (19:39 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Dec 2006 19:39:44 +0000 (19:39 +0000)
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119866 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fortran/ChangeLog
gcc/fortran/Make-lang.in
gcc/fortran/options.c

index fdc054e..1b0ac15 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2006-12-13  Richard Guenther  <rguenther@suse.de>
 
        PR fortran/30115
index f99f0be..077b16a 100644 (file)
@@ -299,4 +299,4 @@ fortran/trans-intrinsic.o: $(GFORTRAN_TRANS_DEPS) fortran/mathbuiltins.def \
 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)
+fortran/options.o: $(PARAMS_H) $(TARGET_H)
index 6ec8467..8819b60 100644 (file)
@@ -29,6 +29,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
 #include "intl.h"
 #include "opts.h"
 #include "options.h"
+#include "params.h"
 #include "tree-inline.h"
 
 #include "gfortran.h"
@@ -107,6 +108,10 @@ gfc_init_options (unsigned int argc ATTRIBUTE_UNUSED,
   /* -fshort-enums can be default on some targets.  */
   gfc_option.fshort_enums = targetm.default_short_enums ();
 
+  /* Increase MAX_ALIASED_VOPS to account for different characteristics
+     of fortran regarding VOPs.  */
+  MAX_ALIASED_VOPS = 50;
+
   return CL_Fortran;
 }