+2021-02-09 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ Backport from mainline
+ 2020-06-24 Jakub Jelinek <jakub@redhat.com>
+
+ * omp-low.c (lower_omp_for): Fix two pastos.
+
2021-02-09 Kwok Cheung Yeung <kcy@codesourcery.com>
Backport from mainline
TREE_VEC_ELT (*rhs_p, 1)
= get_formal_tmp_var (TREE_VEC_ELT (*rhs_p, 1), &cnt_list);
if (!is_gimple_min_invariant (TREE_VEC_ELT (*rhs_p, 2)))
- TREE_VEC_ELT (*rhs_p, 1)
+ TREE_VEC_ELT (*rhs_p, 2)
= get_formal_tmp_var (TREE_VEC_ELT (*rhs_p, 2), &cnt_list);
}
else if (!is_gimple_min_invariant (*rhs_p))
TREE_VEC_ELT (*rhs_p, 1)
= get_formal_tmp_var (TREE_VEC_ELT (*rhs_p, 1), &cnt_list);
if (!is_gimple_min_invariant (TREE_VEC_ELT (*rhs_p, 2)))
- TREE_VEC_ELT (*rhs_p, 1)
+ TREE_VEC_ELT (*rhs_p, 2)
= get_formal_tmp_var (TREE_VEC_ELT (*rhs_p, 2), &cnt_list);
}
else if (!is_gimple_min_invariant (*rhs_p))