From a6be5aeed5b63c9e774110910a81b16a51b8f89d Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Fri, 2 Aug 2002 11:44:54 +0000 Subject: [PATCH] Makefile.in (ra-debug.o): Depend on $(TM_P_H). * 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. From-SVN: r55981 --- gcc/ChangeLog | 6 ++++++ gcc/Makefile.in | 3 ++- gcc/ra-debug.c | 1 + gcc/ra-rewrite.c | 4 ++-- 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 + + * 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 * 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; -- 2.30.2