aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-linear.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-loop-linear.c')
-rw-r--r--gcc/tree-loop-linear.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-loop-linear.c b/gcc/tree-loop-linear.c
index e0f5bd2..2ef7eac 100644
--- a/gcc/tree-loop-linear.c
+++ b/gcc/tree-loop-linear.c
@@ -265,12 +265,12 @@ linear_transform_loops (struct loops *loops)
{
...
}
- for (j = 0; j < 50; j++)
+ for (j = 0; j < 50; j++)
{
...
}
} */
- if (!loop_nest || !loop_nest->inner)
+ if (!loop_nest || !loop_nest->inner || !loop_nest->single_exit)
continue;
VEC_truncate (tree, oldivs, 0);
VEC_truncate (tree, invariants, 0);