summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-23 06:02:06 +0000
committerlauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-23 06:02:06 +0000
commit2bf96dd78f10196a20c8ae90c3f1eef8c859cc91 (patch)
tree6fff6c1d3a57978169cd34f07efeccd0ac2ab924
parentaeb0a1b8a07ed4a8e6f01b4d411550d196dcde92 (diff)
downloadgcc-2bf96dd78f10196a20c8ae90c3f1eef8c859cc91.tar.gz
2010-04-22 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158661 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog13
-rw-r--r--gcc/Makefile.in6
-rw-r--r--gcc/expr.c1
-rw-r--r--gcc/sese.c2
-rw-r--r--gcc/sese.h1
-rw-r--r--gcc/tree-inline.c1
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 <laurynas.biveinis@gmail.com>
+
+ * 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 <kkojima@gcc.gnu.org>
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"