]> gcc.gnu.org Git - gcc.git/commit
re PR middle-end/89002 (ICE in scan_omp_1_op, at omp-low.c:3166)
authorJakub Jelinek <jakub@redhat.com>
Mon, 28 Jan 2019 22:33:33 +0000 (23:33 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 28 Jan 2019 22:33:33 +0000 (23:33 +0100)
commitbe3a87e7b5ff3d284a7663519826f2613dc46f69
tree7f3f4b05ca6c6131553e48f493f88a3a420f4cad
parent62d4a355b7346242fd2242a41662f3b18340f53d
re PR middle-end/89002 (ICE in scan_omp_1_op, at omp-low.c:3166)

PR middle-end/89002
* gimplify.c (gimplify_omp_for): When adding OMP_CLAUSE_*_GIMPLE_SEQ
for lastprivate/linear IV, push gimplify context around gimplify_assign
and, if it needed any temporaries, pop it into a gimple bind around the
sequence.

* testsuite/libgomp.c/pr89002.c: New test.

From-SVN: r268345
gcc/ChangeLog
gcc/gimplify.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr89002.c [new file with mode: 0644]
This page took 0.185642 seconds and 5 git commands to generate.