OSDN Git Service

* rtlanal.c (find_first_parameter_load): Stop if we
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Aug 2001 08:32:44 +0000 (08:32 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Aug 2001 08:32:44 +0000 (08:32 +0000)
        reach a CODE_LABEL at BOUNDARY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44595 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/rtlanal.c

index b20204d..a9efa52 100644 (file)
@@ -1,5 +1,10 @@
 2001-08-03  Richard Henderson  <rth@redhat.com>
 
+       * rtlanal.c (find_first_parameter_load): Stop if we
+       reach a CODE_LABEL at BOUNDARY.
+
+2001-08-03  Richard Henderson  <rth@redhat.com>
+
        * config/alpha/alpha.md (force_movdi): New insn.
        * config/alpha/alpha.c (alpha_expand_prologue): Use it.
        Tweek FRP marking of VMS prologue insns.
index 9762f9e..0502b85 100644 (file)
@@ -2851,12 +2851,16 @@ find_first_parameter_load (call_insn, boundary)
       if (GET_CODE (before) == CALL_INSN)
        break;
 
-      /* Our caller needs eighter ensure, that we will find all sets
+      /* Our caller needs either ensure that we will find all sets
          (in case code has not been optimized yet), or take care
          for possible labels in a way by setting boundary to preceeding
          CODE_LABEL.  */
-      if (GET_CODE (before) == CODE_LABEL && before != boundary)
-       abort ();
+      if (GET_CODE (before) == CODE_LABEL)
+       {
+         if (before != boundary)
+           abort ();
+         break;
+       }
 
       note_stores (PATTERN (before), parms_set, &parm);
     }