From c3be259842ff5b8fbe29f27c7ae76b31fdce20b7 Mon Sep 17 00:00:00 2001 From: James E Wilson Date: Mon, 7 Apr 2008 15:09:07 -0700 Subject: [PATCH] Fix bug Joern Rennecke reported. * reload.c (push_secondary_reload): Add missing break to for loop. From-SVN: r133990 --- gcc/ChangeLog | 4 ++++ gcc/reload.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e60847d6bfc..f7cd018d1a0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-04-07 James E. Wilson + + * reload.c (push_secondary_reload): Add missing break to for loop. + 2008-04-07 Peter Bergner PR middle-end/PR28690 diff --git a/gcc/reload.c b/gcc/reload.c index d880097a164..0492ee8cc64 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -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) -- 2.30.2