]> gcc.gnu.org Git - gcc.git/commitdiff
rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.
authorJan Hubicka <jh@suse.cz>
Mon, 4 Jun 2001 18:16:34 +0000 (20:16 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 4 Jun 2001 18:16:34 +0000 (18:16 +0000)
* rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.
(no_labels_between_p): Short circuit case beg==end.

From-SVN: r42867

gcc/ChangeLog
gcc/rtlanal.c

index 7498981726ca1767251bf1c690c3f31b2e0ce67e..05421810ee0871c39c7933efa081e5425bc3a519 100644 (file)
@@ -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>
 
        * rtlanal.c (operand_preference): Fix preference for objects.
index ca144159cec511f4b35d010cf904230037e3394d..013ad74e34e1a5588794a3a879b0eb53d54d8c5b 100644 (file)
@@ -59,6 +59,7 @@ rtx_unstable_p (x)
     case QUEUED:
       return 1;
 
+    case ADDRESSOF:
     case CONST:
     case CONST_INT:
     case CONST_DOUBLE:
@@ -476,6 +477,8 @@ no_labels_between_p (beg, end)
      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;
This page took 0.082427 seconds and 5 git commands to generate.