diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2011-06-10 01:04:34 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2011-06-10 01:04:34 +0000 |
commit | 3f91c962fd05f2a00aa3691784f8346c92b4ef61 (patch) | |
tree | ab3d39c25214e8b6e6c2339bb520d047d0416849 /gcc/ira-costs.c | |
parent | b125ad45dab0e830d5e1a6aacfddc29fd17e37dc (diff) | |
download | gcc-3f91c962fd05f2a00aa3691784f8346c92b4ef61.tar.gz |
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
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; |