summaryrefslogtreecommitdiff
path: root/gcc/reload.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-07 22:09:07 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-07 22:09:07 +0000
commit92d21e32757d091109e775754d45ab6506965427 (patch)
treeda6b334f280495be9c6eadab681d9de3e60af8a6 /gcc/reload.c
parent15618afa3684a0333833cafed1c03b2ebbcf1ae5 (diff)
downloadgcc-92d21e32757d091109e775754d45ab6506965427.tar.gz
Fix bug Joern Rennecke reported.
* reload.c (push_secondary_reload): Add missing break to for loop. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133990 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.c')
-rw-r--r--gcc/reload.c2
1 files changed, 2 insertions, 0 deletions
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)