diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-10-27 09:24:46 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-10-27 09:24:46 +0200 |
commit | eef811490646a68c9893968a421b351e7bf704e1 (patch) | |
tree | 1c4218c4f2cb965706c5677a49465f4bcc159166 /gcc/cppdefault.h | |
parent | 2084b5f42a4432da8b0625f9c669bf690ec46468 (diff) | |
download | gcc-eef811490646a68c9893968a421b351e7bf704e1.zip gcc-eef811490646a68c9893968a421b351e7bf704e1.tar.gz gcc-eef811490646a68c9893968a421b351e7bf704e1.tar.bz2 |
openmp: Document that non-rect loops are not supported in Fortran yet
I've found we claim to support non-rectangular loops, but don't actually
support those in Fortran, as can be seen on:
integer i, j
!$omp parallel do collapse(2)
do i = 0, 10
do j = 0, i
end do
end do
end
To support this, the Fortran FE needs to allow the valid forms of
non-rectangular loops and disallow others, so mainly it needs its
updated version of c-omp.c c_omp_check_loop_iv etc., plus for non-rectangular
lb or ub expressions emit a TREE_VEC instead of normal expression as the C/C++ FE
do, plus testsuite coverage.
2021-10-27 Jakub Jelinek <jakub@redhat.com>
* libgomp.texi (OpenMP 5.0): Mention that Non-rectangular loop nests
aren't implemented for Fortran yet.
Diffstat (limited to 'gcc/cppdefault.h')
0 files changed, 0 insertions, 0 deletions