summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-02 11:44:54 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-02 11:44:54 +0000
commita5c71710de9c34848a7867098159c4b2697fe90d (patch)
tree586cde10f732f5d41badd95e38d0c01a8ce60e7f
parent0b91d495ba909ef43abcb035bdb3776966bd9612 (diff)
downloadgcc-a5c71710de9c34848a7867098159c4b2697fe90d.tar.gz
* Makefile.in (ra-debug.o): Depend on $(TM_P_H).
* ra-debug.c: Include "tm_p.h". * ra-rewrite.c (is_partly_live_1): Change return type to bool. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55981 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/Makefile.in3
-rw-r--r--gcc/ra-debug.c1
-rw-r--r--gcc/ra-rewrite.c4
4 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9d0272e33aa..579e1dfc6b8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
+ * ra-debug.c: Include "tm_p.h".
+ * ra-rewrite.c (is_partly_live_1): Change return type to bool.
+
2002-08-02 Toon Moene <toon@moene.indiv.nluug.nl>
* simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index aca064bd851..75ba49c251b 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1567,7 +1567,8 @@ ra-build.o : ra-build.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TM_P_H) \
ra-colorize.o : ra-colorize.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TM_P_H) \
function.h $(REGS_H) hard-reg-set.h $(BASIC_BLOCK_H) df.h output.h ra.h
ra-debug.o : ra-debug.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) insn-config.h \
- $(RECOG_H) function.h hard-reg-set.h $(BASIC_BLOCK_H) df.h output.h ra.h
+ $(RECOG_H) function.h hard-reg-set.h $(BASIC_BLOCK_H) df.h output.h ra.h \
+ $(TM_P_H)
ra-rewrite.o : ra-rewrite.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TM_P_H) \
function.h $(REGS_H) hard-reg-set.h $(BASIC_BLOCK_H) df.h expr.h \
output.h except.h ra.h reload.h insn-config.h
diff --git a/gcc/ra-debug.c b/gcc/ra-debug.c
index a20e9901ae5..8daa63d0456 100644
--- a/gcc/ra-debug.c
+++ b/gcc/ra-debug.c
@@ -29,6 +29,7 @@
#include "df.h"
#include "output.h"
#include "ra.h"
+#include "tm_p.h"
/* This file contains various dumping and debug functions for
the graph coloring register allocator. */
diff --git a/gcc/ra-rewrite.c b/gcc/ra-rewrite.c
index 7d0bbb6c292..451762671ff 100644
--- a/gcc/ra-rewrite.c
+++ b/gcc/ra-rewrite.c
@@ -57,7 +57,7 @@ static void delete_overlapping_slots PARAMS ((struct rtx_list **, rtx));
static int slot_member_p PARAMS ((struct rtx_list *, rtx));
static void insert_stores PARAMS ((bitmap));
static int spill_same_color_p PARAMS ((struct web *, struct web *));
-static int is_partly_live_1 PARAMS ((sbitmap, struct web *));
+static bool is_partly_live_1 PARAMS ((sbitmap, struct web *));
static void update_spill_colors PARAMS ((HARD_REG_SET *, struct web *, int));
static int spill_is_free PARAMS ((HARD_REG_SET *, struct web *));
static void emit_loads PARAMS ((struct rewrite_info *, int, rtx));
@@ -770,7 +770,7 @@ spill_same_color_p (web1, web2)
/* Given the set of live web IDs LIVE, returns nonzero, if any of WEBs
subwebs (or WEB itself) is live. */
-static int
+static bool
is_partly_live_1 (live, web)
sbitmap live;
struct web *web;