From 3f91c962fd05f2a00aa3691784f8346c92b4ef61 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Fri, 10 Jun 2011 01:04:34 +0000 Subject: [PATCH] re PR bootstrap/49354 (bootstrap failure) PR bootstrap/49354 * ira-costs.c (setup_regno_cost_classes_by_mode): Add missing cast to last assignment. From-SVN: r174878 --- gcc/ChangeLog | 6 ++++++ gcc/ira-costs.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d0429e15091..1fb815879e3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-06-10 Hans-Peter Nilsson + + PR bootstrap/49354 + * ira-costs.c (setup_regno_cost_classes_by_mode): Add missing cast + to last assignment. + 2011-06-09 Jan Hubicka * cgraphunit.c (cgraph_reset_node): Do not set redefined_extern_inline; diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c index a22bb1571cc..1dbb5a73460 100644 --- a/gcc/ira-costs.c +++ b/gcc/ira-costs.c @@ -300,7 +300,7 @@ setup_regno_cost_classes_by_mode (int regno, enum machine_mode mode) *slot = classes_ptr; } else - classes_ptr = *slot; + classes_ptr = (cost_classes_t) *slot; cost_classes_mode_cache[mode] = (cost_classes_t) *slot; } regno_cost_classes[regno] = classes_ptr; -- 2.30.2