(no_labels_between_p): Short circuit case beg==end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42867
138bc75d-0d04-0410-961f-
82ee72b054a4
+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>
* rtlanal.c (operand_preference): Fix preference for objects.
case QUEUED:
return 1;
+ case ADDRESSOF:
case CONST:
case CONST_INT:
case CONST_DOUBLE:
rtx beg, end;
{
register rtx p;
+ if (beg == end)
+ return 0;
for (p = NEXT_INSN (beg); p != end; p = NEXT_INSN (p))
if (GET_CODE (p) == CODE_LABEL)
return 0;