aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2008-12-29 13:36:24 +0100
committerUros Bizjak <uros@gcc.gnu.org>2008-12-29 13:36:24 +0100
commit67d0afe9011dfe0e010113694e4577451855075a (patch)
tree6bde174ddb959fba106f35ec4e7f034fcb898ece
parent7c280c72a3200ce18434a3bf4c9318c6e3e447ef (diff)
downloadgcc-67d0afe9011dfe0e010113694e4577451855075a.zip
gcc-67d0afe9011dfe0e010113694e4577451855075a.tar.gz
gcc-67d0afe9011dfe0e010113694e4577451855075a.tar.bz2
re PR middle-end/38652 (dse.c: In function get_call_args: dse.c:2309: error: target undeclared)
PR middle-end/38652 * dse.c: Include target.h. * Makefile.in (dse.o): Depend on $(TARGET_H). From-SVN: r142949
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/dse.c1
3 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1b9d89f..bb86005 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-28 Uros Bizjak <ubizjak@gmail.com>
+
+ PR middle-end/38652
+ * dse.c: Include target.h.
+ * Makefile.in (dse.o): Depend on $(TARGET_H).
+
2008-12-29 Jakub Jelinek <jakub@redhat.com>
PR driver/38381
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 0257922..78d424e 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2676,7 +2676,7 @@ dce.o : dce.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
dse.o : dse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
$(TREE_H) $(TM_P_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
$(RECOG_H) $(EXPR_H) $(DF_H) cselib.h $(DBGCNT_H) $(TIMEVAR_H) tree-pass.h \
- alloc-pool.h $(ALIAS_H) dse.h $(OPTABS_H)
+ alloc-pool.h $(ALIAS_H) dse.h $(OPTABS_H) $(TARGET_H)
fwprop.o : fwprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
$(TOPLEV_H) insn-config.h $(RECOG_H) $(FLAGS_H) $(OBSTACK_H) $(BASIC_BLOCK_H) \
output.h $(DF_H) alloc-pool.h $(TIMEVAR_H) tree-pass.h $(TARGET_H) $(TM_P_H) \
diff --git a/gcc/dse.c b/gcc/dse.c
index 95a351b..666a2f0 100644
--- a/gcc/dse.c
+++ b/gcc/dse.c
@@ -45,6 +45,7 @@ along with GCC; see the file COPYING3. If not see
#include "dse.h"
#include "optabs.h"
#include "dbgcnt.h"
+#include "target.h"
/* This file contains three techniques for performing Dead Store
Elimination (dse).