This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR 42585] Total scalarization of small records
On Fri, 2010-01-22 at 19:24 +0100, Jakub Jelinek wrote:
>
> Don't forget to also add $(EXPR_H) to tree-sra.o in Makefile.in.
>
> Jakub
Third times the charm. I am now building with this patch:
2010-01-22 Steve Ellcey <sje@cup.hp.com>
* Makefile.in (tree-sra.o): Add $(EXPR_H) dependency.
* tree-sra.c: Add include of expr.h.
Index: Makefile.in
===================================================================
--- Makefile.in (revision 156167)
+++ Makefile.in (working copy)
@@ -2989,7 +2989,7 @@ tree-ssa-ccp.o : tree-ssa-ccp.c $(TREE_F
tree-sra.o : tree-sra.c $(CONFIG_H) $(SYSTEM_H) coretypes.h alloc-pool.h \
$(TM_H) $(TREE_H) $(GIMPLE_H) $(CGRAPH_H) $(TREE_FLOW_H) $(IPA_PROP_H) \
$(DIAGNOSTIC_H) statistics.h $(TREE_DUMP_H) $(TIMEVAR_H) $(PARAMS_H) \
- $(TARGET_H) $(FLAGS_H)
+ $(TARGET_H) $(FLAGS_H) $(EXPR_H)
tree-switch-conversion.o : tree-switch-conversion.c $(CONFIG_H) $(SYSTEM_H) \
$(TREE_H) $(TM_P_H) $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TREE_INLINE_H) \
$(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) $(GIMPLE_H) \
Index: tree-sra.c
===================================================================
--- tree-sra.c (revision 156167)
+++ tree-sra.c (working copy)
@@ -77,6 +77,7 @@ along with GCC; see the file COPYING3.
#include "alloc-pool.h"
#include "tm.h"
#include "tree.h"
+#include "expr.h"
#include "gimple.h"
#include "cgraph.h"
#include "tree-flow.h"