From 086058c2a6338dc9e0f1b8d0962da1ee7363f4c7 Mon Sep 17 00:00:00 2001 From: Laurynas Biveinis Date: Fri, 23 Apr 2010 06:02:06 +0000 Subject: [PATCH] sese.h (create_if_region_on_edge): Remove. 2010-04-22 Laurynas Biveinis * sese.h (create_if_region_on_edge): Remove. * sese.c (create_if_region_on_edge): Make static. * tree-inline.c: Do not include ggc.h. * expr.c: Do not include ggc.h. * Makefile.in (tree-inline.o, expr.o): Remove $(GGC_H) from dependencies. From-SVN: r158661 --- gcc/ChangeLog | 13 +++++++++++++ gcc/Makefile.in | 6 +++--- gcc/expr.c | 1 - gcc/sese.c | 2 +- gcc/sese.h | 1 - gcc/tree-inline.c | 1 - 6 files changed, 17 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3d8c5b0272e..bfbbc864a34 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2010-04-22 Laurynas Biveinis + + * sese.h (create_if_region_on_edge): Remove. + + * sese.c (create_if_region_on_edge): Make static. + + * tree-inline.c: Do not include ggc.h. + + * expr.c: Do not include ggc.h. + + * Makefile.in (tree-inline.o, expr.o): Remove $(GGC_H) from + dependencies. + 2010-04-22 Kaz Kojima PR target/43744 diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 3d9aac8376f..c82bf15482e 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2267,7 +2267,7 @@ tree-dump.o: tree-dump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ tree-inline.o : tree-inline.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(TREE_H) $(RTL_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) $(INPUT_H) insn-config.h \ $(HASHTAB_H) $(TOPLEV_H) langhooks.h $(TREE_INLINE_H) $(CGRAPH_H) \ - intl.h $(FUNCTION_H) $(GGC_H) $(GIMPLE_H) \ + intl.h $(FUNCTION_H) $(GIMPLE_H) \ debug.h $(DIAGNOSTIC_H) $(EXCEPT_H) $(TREE_FLOW_H) tree-iterator.h tree-mudflap.h \ $(IPA_PROP_H) value-prof.h $(TREE_PASS_H) $(TARGET_H) $(INTEGRATE_H) print-tree.o : print-tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ @@ -2793,8 +2793,8 @@ except.o : except.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \ expr.o : expr.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \ $(TREE_H) $(FLAGS_H) $(FUNCTION_H) $(REGS_H) $(EXPR_H) $(OPTABS_H) \ libfuncs.h $(INSN_ATTR_H) insn-config.h $(RECOG_H) output.h \ - typeclass.h hard-reg-set.h $(TOPLEV_H) hard-reg-set.h $(EXCEPT_H) reload.h \ - $(GGC_H) langhooks.h intl.h $(TM_P_H) $(REAL_H) $(TARGET_H) \ + typeclass.h hard-reg-set.h $(TOPLEV_H) hard-reg-set.h $(EXCEPT_H) \ + reload.h langhooks.h intl.h $(TM_P_H) $(REAL_H) $(TARGET_H) \ tree-iterator.h gt-expr.h $(MACHMODE_H) $(TIMEVAR_H) $(TREE_FLOW_H) \ $(TREE_PASS_H) $(DF_H) $(DIAGNOSTIC_H) vecprim.h $(SSAEXPAND_H) dojump.o : dojump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \ diff --git a/gcc/expr.c b/gcc/expr.c index 5448bbe2b8f..e9e53261bf3 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see #include "output.h" #include "typeclass.h" #include "toplev.h" -#include "ggc.h" #include "langhooks.h" #include "intl.h" #include "tm_p.h" diff --git a/gcc/sese.c b/gcc/sese.c index a4881454c48..e67628e4687 100644 --- a/gcc/sese.c +++ b/gcc/sese.c @@ -1508,7 +1508,7 @@ if_region_set_false_region (ifsese if_region, sese region) /* Creates an IFSESE with CONDITION on edge ENTRY. */ -ifsese +static ifsese create_if_region_on_edge (edge entry, tree condition) { edge e; diff --git a/gcc/sese.h b/gcc/sese.h index 28eb2fac8cd..2b05ca8cf94 100644 --- a/gcc/sese.h +++ b/gcc/sese.h @@ -226,7 +226,6 @@ typedef struct ifsese_s { } *ifsese; extern void if_region_set_false_region (ifsese, sese); -extern ifsese create_if_region_on_edge (edge, tree); extern ifsese move_sese_in_condition (sese); extern edge get_true_edge_from_guard_bb (basic_block); extern edge get_false_edge_from_guard_bb (basic_block); diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index b564fa58a74..1d3008b2363 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -41,7 +41,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-mudflap.h" #include "tree-flow.h" #include "function.h" -#include "ggc.h" #include "tree-flow.h" #include "diagnostic.h" #include "except.h"