rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.
* rtlanal.c (rtx_unsable_p): ADDRESSOF is stable. (no_labels_between_p): Short circuit case beg==end. From-SVN: r42867
This commit is contained in:
parent
31990cd54c
commit
978f547fa2
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jun 4 20:15:25 CEST 2001 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
|
* rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.
|
||||||
|
(no_labels_between_p): Short circuit case beg==end.
|
||||||
|
|
||||||
Mon Jun 4 20:03:05 CEST 2001 Jan Hubicka <jh@suse.cz>
|
Mon Jun 4 20:03:05 CEST 2001 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* rtlanal.c (operand_preference): Fix preference for objects.
|
* rtlanal.c (operand_preference): Fix preference for objects.
|
||||||
|
@ -59,6 +59,7 @@ rtx_unstable_p (x)
|
|||||||
case QUEUED:
|
case QUEUED:
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
case ADDRESSOF:
|
||||||
case CONST:
|
case CONST:
|
||||||
case CONST_INT:
|
case CONST_INT:
|
||||||
case CONST_DOUBLE:
|
case CONST_DOUBLE:
|
||||||
@ -476,6 +477,8 @@ no_labels_between_p (beg, end)
|
|||||||
rtx beg, end;
|
rtx beg, end;
|
||||||
{
|
{
|
||||||
register rtx p;
|
register rtx p;
|
||||||
|
if (beg == end)
|
||||||
|
return 0;
|
||||||
for (p = NEXT_INSN (beg); p != end; p = NEXT_INSN (p))
|
for (p = NEXT_INSN (beg); p != end; p = NEXT_INSN (p))
|
||||||
if (GET_CODE (p) == CODE_LABEL)
|
if (GET_CODE (p) == CODE_LABEL)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user