https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93329
Bug ID: 93329 Summary: ICE in omp_code_to_statement, at fortran/openmp.c:5902 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: openacc, openmp Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- The following program fails when compiled with -fopenacc & -fopenacc simultaneously: $ gfortran-trunk -fopenmp -fopenacc -foffload=disable foo3.f90 f951: internal compiler error: in omp_code_to_statement, at fortran/openmp.c:5902 0x5fc40b omp_code_to_statement ../../repos/gcc/gcc/fortran/openmp.c:5902 0x5fc40b omp_code_to_statement ../../repos/gcc/gcc/fortran/openmp.c:5875 0x8c77e4 resolve_omp_directive_inside_oacc_region ../../repos/gcc/gcc/fortran/openmp.c:5955 !------------------------- !$acc kernels copyout(x) !$omp target map(from:x) x = 5 !$omp end target !$acc end kernels print *, 'hello', x end