diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-10 01:04:34 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-10 01:04:34 +0000 |
commit | 5bac2f8b721dd1b26c933de069701c085d21a393 (patch) | |
tree | ab3d39c25214e8b6e6c2339bb520d047d0416849 /gcc/ira-costs.c | |
parent | 443089c1691fc1d5e3b004bc008a4b69589aad97 (diff) | |
download | gcc-5bac2f8b721dd1b26c933de069701c085d21a393.tar.gz |
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
Diffstat (limited to 'gcc/ira-costs.c')
-rw-r--r-- | gcc/ira-costs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |