From 59d4e481366f2f2e1b7d9bcee94a028e600b841a Mon Sep 17 00:00:00 2001 From: Klaus-Georg Adams Date: Sat, 22 Aug 1998 16:32:55 -0600 Subject: [PATCH] loop.c (load_mems): Fix initializers. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit � * loop.c (load_mems): Fix initializers. From-SVN: r21907 --- gcc/loop.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/loop.c b/gcc/loop.c index 86782d7292d..34613cb66d5 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -8571,7 +8571,9 @@ load_mems (scan_start, end, loop_top, start) p != NULL_RTX; p = next_insn_in_loop (p, scan_start, end, loop_top)) { - rtx_and_int ri = { p, i }; + rtx_and_int ri; + ri.r = p; + ri.i = i; for_each_rtx (&p, replace_loop_mem, &ri); } @@ -8620,7 +8622,9 @@ load_mems (scan_start, end, loop_top, start) { /* Now, we need to replace all references to the previous exit label with the new one. */ - rtx_pair rr = { end_label, label }; + rtx_pair rr; + rr.r1 = end_label; + rr.r2 = label; for (p = start; p != end; p = NEXT_INSN (p)) for_each_rtx (&p, replace_label, &rr); -- 2.30.2