[Bug middle-end/65597] ICE in build_outer_var_ref, at omp-low.c:1043
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 15:32:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65597
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jun 3 15:31:46 2015
New Revision: 224090
URL: https://gcc.gnu.org/viewcvs?rev=224090&root=gcc&view=rev
Log:
Backported from mainline
2015-03-30 Jakub Jelinek <jakub@redhat.com>
PR fortran/65597
* trans-openmp.c (gfc_trans_omp_do): For !simple simd with explicit
linear clause for the iterator set OMP_CLAUSE_LINEAR_NO_COPYIN.
For implcitly added !simple OMP_CLAUSE_LINEAR set it too. Use step 1
instead of the original step on the new iterator - count.
* testsuite/libgomp.fortran/pr65597.f90: New test.
Added:
branches/gcc-4_9-branch/libgomp/testsuite/libgomp.fortran/pr65597.f90
Modified:
branches/gcc-4_9-branch/gcc/fortran/ChangeLog
branches/gcc-4_9-branch/gcc/fortran/trans-openmp.c
branches/gcc-4_9-branch/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list