From: James E Wilson Date: Mon, 7 Apr 2008 22:09:07 +0000 (-0700) Subject: Fix bug Joern Rennecke reported. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3be259842ff5b8fbe29f27c7ae76b31fdce20b7;p=gcc.git Fix bug Joern Rennecke reported. * reload.c (push_secondary_reload): Add missing break to for loop. From-SVN: r133990 --- 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)