mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-03 16:54:27 +08:00
rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT and SIGN_EXTRACT.
* rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT and SIGN_EXTRACT. From-SVN: r65782
This commit is contained in:
parent
e9b841813c
commit
c553b7026a
@ -1,3 +1,8 @@
|
||||
2003-04-18 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT
|
||||
and SIGN_EXTRACT.
|
||||
|
||||
2003-04-18 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
PR optimization/7675
|
||||
|
@ -1573,7 +1573,9 @@ reg_overlap_mentioned_p (x, in)
|
||||
unsigned int regno, endregno;
|
||||
|
||||
/* Overly conservative. */
|
||||
if (GET_CODE (x) == STRICT_LOW_PART)
|
||||
if (GET_CODE (x) == STRICT_LOW_PART
|
||||
|| GET_CODE (x) == ZERO_EXTRACT
|
||||
|| GET_CODE (x) == SIGN_EXTRACT)
|
||||
x = XEXP (x, 0);
|
||||
|
||||
/* If either argument is a constant, then modifying X can not affect IN. */
|
||||
|
Loading…
Reference in New Issue
Block a user