summaryrefslogtreecommitdiff
path: root/gcc/ra-colorize.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ra-colorize.c')
-rw-r--r--gcc/ra-colorize.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/ra-colorize.c b/gcc/ra-colorize.c
index eecea504f18..e7af3001fa2 100644
--- a/gcc/ra-colorize.c
+++ b/gcc/ra-colorize.c
@@ -20,6 +20,8 @@
#include "config.h"
#include "system.h"
+#include "coretypes.h"
+#include "tm.h"
#include "rtl.h"
#include "tm_p.h"
#include "function.h"
@@ -1285,7 +1287,6 @@ colorize_one_web (web, hard)
int c = -1;
int bestc = -1;
int neighbor_needs= 0;
- struct web *fat_neighbor = NULL;
struct web *fats_parent = NULL;
int num_fat = 0;
int long_blocks = 0;
@@ -1318,7 +1319,6 @@ colorize_one_web (web, hard)
&& w->add_hardregs >= neighbor_needs)
{
neighbor_needs = w->add_hardregs;
- fat_neighbor = w;
fats_parent = ptarget;
num_fat++;
}
@@ -1669,9 +1669,7 @@ assign_colors ()
while (WEBS(SELECT))
{
- struct web *web;
d = pop_list (&WEBS(SELECT));
- web = DLIST_WEB (d);
colorize_one_web (DLIST_WEB (d), 1);
}