(gen_lowpart_for_combine): Set reg_changes_size, if needed.
From-SVN: r9206
This commit is contained in:
parent
88285acf31
commit
64bf47a22d
@ -8320,6 +8320,14 @@ gen_lowpart_for_combine (mode, x)
|
||||
}
|
||||
|
||||
result = gen_lowpart_common (mode, x);
|
||||
if (result != 0
|
||||
&& GET_CODE (result) == SUBREG
|
||||
&& GET_CODE (SUBREG_REG (result)) == REG
|
||||
&& REGNO (SUBREG_REG (result)) >= FIRST_PSEUDO_REGISTER
|
||||
&& (GET_MODE_SIZE (GET_MODE (result))
|
||||
!= GET_MODE_SIZE (GET_MODE (SUBREG_REG (result)))))
|
||||
reg_changes_size[REGNO (SUBREG_REG (result))] = 1;
|
||||
|
||||
if (result)
|
||||
return result;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user