From: Andrew Pinski Date: Tue, 29 Jun 2004 17:04:44 +0000 (+0000) Subject: tree-sra.c: Include expr.h for definition of MOVE_RATIO. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1514303f2550329accaf2fe3b7eec9ca54f9724;p=gcc.git tree-sra.c: Include expr.h for definition of MOVE_RATIO. 2004-06-29 Andrew Pinski * tree-sra.c: Include expr.h for definition of MOVE_RATIO. * Makefile.in (tree-sra.c): Update dependencies. From-SVN: r83860 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a87da45d891..59f35c1d5de 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-29 Andrew Pinski + + * tree-sra.c: Include expr.h for definition of MOVE_RATIO. + * Makefile.in (tree-sra.c): Update dependencies. + 2004-06-29 Richard Henderson * tree-sra.c: Rewrite from scratch. Handle nested aggregates. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 6ee17240b46..8a412fc0a78 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -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) diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index f0d6da92372..022da7d90af 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -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