[Bug middle-end/100905] [OpenMP] ICE in convert_nonlocal_omp_clauses, at tree-nested.c:1514 with 'omp loop' in Fortran internal procedure

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 4 17:03:08 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100905

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Tendative patch:

--- a/gcc/tree-nested.c
+++ b/gcc/tree-nested.c
@@ -1484,6 +1484,7 @@ convert_nonlocal_omp_clauses (tree *pclauses, struct
walk_stmt_info *wi)
        case OMP_CLAUSE_AUTO:
        case OMP_CLAUSE_IF_PRESENT:
        case OMP_CLAUSE_FINALIZE:
+       case OMP_CLAUSE_BIND:
        case OMP_CLAUSE__CONDTEMP_:
        case OMP_CLAUSE__SCANTEMP_:
          break;


More information about the Gcc-bugs mailing list