OSDN Git Service

2004-06-29 Andrew Pinski <apinski@apple.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jun 2004 17:04:44 +0000 (17:04 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jun 2004 17:04:44 +0000 (17:04 +0000)
        * tree-sra.c: Include expr.h for definition of MOVE_RATIO.
        * Makefile.in (tree-sra.c): Update dependencies.

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

gcc/ChangeLog
gcc/Makefile.in
gcc/tree-sra.c

index a87da45..59f35c1 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-29  Andrew Pinski  <apinski@apple.com>
+
+       * tree-sra.c: Include expr.h for definition of MOVE_RATIO.
+       * Makefile.in (tree-sra.c): Update dependencies.
+
 2004-06-29  Richard Henderson  <rth@redhat.com>
 
        * tree-sra.c: Rewrite from scratch.  Handle nested aggregates.
index 6ee1724..8a412fc 100644 (file)
@@ -1890,7 +1890,7 @@ tree-ssa-ccp.o : tree-ssa-ccp.c $(CONFIG_H) system.h errors.h $(TREE_H) \
 tree-sra.o : tree-sra.c $(CONFIG_H) system.h errors.h $(TREE_H) $(RTL_H) \
     $(TM_P_H) $(TREE_FLOW_H) diagnostic.h tree-inline.h \
     $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_GIMPLE_H) \
-    langhooks.h tree-pass.h $(FLAGS_H)
+    langhooks.h tree-pass.h $(FLAGS_H) $(EXPR_H)
 tree-complex.o : tree-complex.c $(CONFIG_H) system.h $(TREE_H) \
     $(TM_H) $(TREE_FLOW_H) $(TREE_GIMPLE_H) tree-iterator.h tree-pass.h \
     $(FLAGS_H)
index f0d6da9..022da7d 100644 (file)
@@ -46,6 +46,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "bitmap.h"
 #include "obstack.h"
 #include "target.h"
+/* expr.h is needed for MOVE_RATIO.  */
+#include "expr.h"
 
 
 /* This object of this pass is to replace a non-addressable aggregate with a