tree-sra.c: Include expr.h for definition of MOVE_RATIO.
authorAndrew Pinski <apinski@apple.com>
Tue, 29 Jun 2004 17:04:44 +0000 (17:04 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 29 Jun 2004 17:04:44 +0000 (10:04 -0700)
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.

From-SVN: r83860

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

index a87da45d8918ce0d8b34c81b0b03a9e09458b5e2..59f35c1d5dee9135f3881dad4b7cce77e98302f0 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 6ee17240b46df128ff174aed47045fdd60e9c4ff..8a412fc0a78225877502c5f9a654672ee3c115dc 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 f0d6da92372ae1b666b968c6708be17b0a4697e2..022da7d90af5fcb8b90f010cb1f4372b4ae32432 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