From 5bac2f8b721dd1b26c933de069701c085d21a393 Mon Sep 17 00:00:00 2001 From: hp Date: Fri, 10 Jun 2011 01:04:34 +0000 Subject: PR bootstrap/49354 * ira-costs.c (setup_regno_cost_classes_by_mode): Add missing cast to last assignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174878 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ira-costs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ira-costs.c') 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; -- cgit v1.2.1