[Bug middle-end/89002] [7/8 Regression] ICE in scan_omp_1_op, at omp-low.c:3166
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 7 14:45:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89002
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 7 14:44:31 2019
New Revision: 268635
URL: https://gcc.gnu.org/viewcvs?rev=268635&root=gcc&view=rev
Log:
Backported from mainline
2019-01-28 Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-8-branch/libgomp/testsuite/libgomp.c/pr89002.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/gimplify.c
branches/gcc-8-branch/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list