summaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorGraham Stott <grahams@redhat.com>2002-02-27 15:03:05 +0000
committerGraham Stott <grahams@gcc.gnu.org>2002-02-27 15:03:05 +0000
commit7d10488522fbf7c02e67125c7953751c1fc2db35 (patch)
tree9a4e548bed8294f562c89b071c8498bc53b679e9 /gcc/loop.c
parent8ed805d20c65c2b262321b16c2825d9df5836c97 (diff)
downloadgcc-7d10488522fbf7c02e67125c7953751c1fc2db35.tar.gz
* loop.c (prescan_loop): Handle PARALLEL.
From-SVN: r50101
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 2bd19445ae0..506984beaaf 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -2504,16 +2504,17 @@ prescan_loop (loop)
if (set)
{
+ rtx src = SET_SRC (set);
rtx label1, label2;
- if (GET_CODE (SET_SRC (set)) == IF_THEN_ELSE)
+ if (GET_CODE (src) == IF_THEN_ELSE)
{
- label1 = XEXP (SET_SRC (set), 1);
- label2 = XEXP (SET_SRC (set), 2);
+ label1 = XEXP (src, 1);
+ label2 = XEXP (src, 2);
}
else
{
- label1 = SET_SRC (PATTERN (insn));
+ label1 = src;
label2 = NULL_RTX;
}