[Bug fortran/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163 Richard Biener changed: What|Removed |Added Priority|P2 |P4
[Bug fortran/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Keywords||accepts-invalid
[Bug fortran/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163 --- Comment #4 from Tobias Burnus --- Likewise crashing is: !$omp target map(tofrom: i) map(i)
[Bug fortran/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163 Jakub Jelinek changed: What|Removed |Added CC||burnus at gcc dot gnu.org Component|middle-end |fortran --- Comment #3 from Jakub Jelinek --- 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.