[Bug fortran/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 25 12:25:15 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
Component|middle-end |fortran
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
integer :: i
i = 1
!$omp target map(tofrom: i) firstprivate (i)
i = i + 1
!$omp end target
end
For C/C++,
void
foo (int i)
{
#pragma omp target map(tofrom: i) firstprivate (i)
i++;
}
void
bar (int i)
{
#pragma omp target firstprivate (i) map(tofrom: i)
i++;
}
is rejected already in the FE, so I think we just miss rejecting it in the
Fortran FE.
More information about the Gcc-bugs
mailing list