Fix bug Joern Rennecke reported.
authorJames E Wilson <wilson@tuliptree.org>
Mon, 7 Apr 2008 22:09:07 +0000 (15:09 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 7 Apr 2008 22:09:07 +0000 (15:09 -0700)
* reload.c (push_secondary_reload): Add missing break to for loop.

From-SVN: r133990

gcc/ChangeLog
gcc/reload.c

index e60847d6bfcabc5b5286c5d83f8085c3edadfb08..f7cd018d1a0c45a0cf06cef09384fe074b7b3588 100644 (file)
@@ -1,3 +1,7 @@
+2008-04-07  James E. Wilson  <wilson@tuliptree.org>
+
+       * reload.c (push_secondary_reload): Add missing break to for loop.
+
 2008-04-07  Peter Bergner  <bergner@vnet.ibm.com>
 
        PR middle-end/PR28690
index d880097a164634d1f107c921cd0e4f4238baf921..0492ee8cc642abf81a9c23615f253fb37936101b 100644 (file)
@@ -454,6 +454,8 @@ push_secondary_reload (int in_p, rtx x, int opnum, int optional,
        if (MERGE_TO_OTHER (secondary_type, rld[s_reload].when_needed,
                            opnum, rld[s_reload].opnum))
          rld[s_reload].when_needed = RELOAD_OTHER;
+
+       break;
       }
 
   if (s_reload == n_reloads)