summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-31 19:27:12 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-31 19:27:12 +0000
commitcb9dac39dfdf034ef41525b256f30995778a815e (patch)
tree0db1d11a3da6c61db5aeaafce7b4acc0a02566e7
parent2647d4bde42382ca3f3505d0480fc6b199ac7215 (diff)
downloadgcc-cb9dac39dfdf034ef41525b256f30995778a815e.tar.gz
* Makefile.in (c-pragma.o): Depend on output.h.
(reorg.o): Depend on except.h. * c-pragma.c: Include output.h. * reorg.c: Include except.h. * unwind-dw2.c: Call __builtin_alloca, not alloca. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45331 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog11
-rw-r--r--gcc/Makefile.in4
-rw-r--r--gcc/c-pragma.c1
-rw-r--r--gcc/reorg.c1
-rw-r--r--gcc/unwind-dw2.c2
5 files changed, 16 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b176a4d4374..f4037caa0ba 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,14 @@
+2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Makefile.in (c-pragma.o): Depend on output.h.
+ (reorg.o): Depend on except.h.
+
+ * c-pragma.c: Include output.h.
+
+ * reorg.c: Include except.h.
+
+ * unwind-dw2.c: Call __builtin_alloca, not alloca.
+
2001-08-31 Richard Henderson <rth@redhat.com>
* sched-deps.c (add_dependence): Don't elide dependancy if the
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 90a1834a30f..1c4343d9cb1 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1180,7 +1180,7 @@ c-aux-info.o : c-aux-info.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(C_TREE_H) \
flags.h toplev.h
c-convert.o : c-convert.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) flags.h toplev.h
c-pragma.o: c-pragma.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) function.h \
- c-pragma.h toplev.h $(GGC_H) $(TM_P_H)
+ c-pragma.h toplev.h output.h $(GGC_H) $(TM_P_H)
mbchar.o: mbchar.c $(CONFIG_H) $(SYSTEM_H) mbchar.h
graph.o: graph.c $(CONFIG_H) $(SYSTEM_H) toplev.h flags.h output.h $(RTL_H) \
function.h hard-reg-set.h $(BASIC_BLOCK_H) graph.h
@@ -1517,7 +1517,7 @@ caller-save.o : caller-save.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h \
$(REGS_H) hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) function.h \
$(RECOG_H) reload.h $(EXPR_H) toplev.h $(TM_P_H)
reorg.o : reorg.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) conditions.h hard-reg-set.h \
- $(BASIC_BLOCK_H) $(REGS_H) insn-config.h $(INSN_ATTR_H) \
+ $(BASIC_BLOCK_H) $(REGS_H) insn-config.h $(INSN_ATTR_H) except.h \
$(RECOG_H) function.h flags.h output.h $(EXPR_H) toplev.h $(PARAMS_H) $(TM_P_H)
alias.o : alias.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h hard-reg-set.h \
$(BASIC_BLOCK_H) $(REGS_H) toplev.h output.h $(EXPR_H) \
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c
index 31bb29232b6..0d1caaff486 100644
--- a/gcc/c-pragma.c
+++ b/gcc/c-pragma.c
@@ -30,6 +30,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "toplev.h"
#include "ggc.h"
#include "c-lex.h"
+#include "output.h"
#include "tm_p.h"
#define BAD(msgid) do { warning (msgid); return; } while (0)
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 879841e2ffb..5cff4b36b73 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -138,6 +138,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "obstack.h"
#include "insn-attr.h"
#include "resource.h"
+#include "except.h"
#include "params.h"
#ifdef DELAY_SLOTS
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index 2160c76d62f..d4ef6981fe7 100644
--- a/gcc/unwind-dw2.c
+++ b/gcc/unwind-dw2.c
@@ -778,7 +778,7 @@ execute_cfa_program (const unsigned char *insn_ptr,
unused_rs = unused_rs->prev;
}
else
- new_rs = alloca (sizeof (struct frame_state_reg_info));
+ new_rs = __builtin_alloca (sizeof (struct frame_state_reg_info));
*new_rs = fs->regs;
fs->regs.prev = new_rs;