mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 19:33:59 +08:00
ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'.
2011-03-30 Vladimir Makarov <vmakarov@redhat.com> * ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'. From-SVN: r171735
This commit is contained in:
parent
8f98453427
commit
4648deb418
@ -1,3 +1,7 @@
|
||||
2011-03-30 Vladimir Makarov <vmakarov@redhat.com>
|
||||
|
||||
* ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'.
|
||||
|
||||
2011-03-30 Richard Sandiford <richard.sandiford@linaro.org>
|
||||
|
||||
PR rtl-optimization/48332
|
||||
|
@ -1622,10 +1622,11 @@ assign_hard_reg (ira_allocno_t a, bool retry_p)
|
||||
if (hard_regno >= 0
|
||||
&& ira_class_hard_reg_index[aclass][hard_regno] >= 0)
|
||||
{
|
||||
enum machine_mode mode = ALLOCNO_MODE (conflict_a);
|
||||
int conflict_nregs = hard_regno_nregs[hard_regno][mode];
|
||||
int n_objects = ALLOCNO_NUM_OBJECTS (conflict_a);
|
||||
int conflict_nregs;
|
||||
|
||||
mode = ALLOCNO_MODE (conflict_a);
|
||||
conflict_nregs = hard_regno_nregs[hard_regno][mode];
|
||||
if (conflict_nregs == n_objects && conflict_nregs > 1)
|
||||
{
|
||||
int num = OBJECT_SUBWORD (conflict_obj);
|
||||
|
Loading…
Reference in New Issue
Block a user