mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-29 21:00:24 +08:00
(register_operand): Don't reject subreg of complex mode.
From-SVN: r12868
This commit is contained in:
parent
c2722ef63b
commit
50dc6373e5
@ -871,7 +871,9 @@ register_operand (op, mode)
|
||||
&& TEST_HARD_REG_BIT (reg_class_contents[(int) CLASS_CANNOT_CHANGE_SIZE],
|
||||
REGNO (SUBREG_REG (op)))
|
||||
&& (GET_MODE_SIZE (mode)
|
||||
!= GET_MODE_SIZE (GET_MODE (SUBREG_REG (op)))))
|
||||
!= GET_MODE_SIZE (GET_MODE (SUBREG_REG (op))))
|
||||
&& GET_MODE_CLASS (GET_MODE (SUBREG_REG (op))) != MODE_COMPLEX_INT
|
||||
&& GET_MODE_CLASS (GET_MODE (SUBREG_REG (op))) != MODE_COMPLEX_FLOAT)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user