[Bug fortran/95467] ICE in parse_omp_structured_block: OpenMP Offload (target_parallel__simd)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95467 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING CC||marxin at gcc dot gnu.org Last reconfirmed||2020-06-02 --- Comment #1 from Martin Liška --- I see something like: gcc pr95467.F90 -c -fopenmp -O2 pr95467.F90:11:18: 11 | !$OMP END PARALLEL | 1 Error: Unexpected !$OMP END PARALLEL statement at (1) pr95467.F90:12:4: 12 | END PROGRAM target_parallel__simd |1 Error: Unexpected END statement at (1) f951: Error: Unexpected end of file in ‘pr95467.F90’
[Bug fortran/95467] ICE in parse_omp_structured_block: OpenMP Offload (target_parallel__simd)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95467 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Yeah, can't reproduce the ICE either.
[Bug fortran/95467] ICE in parse_omp_structured_block: OpenMP Offload (target_parallel__simd)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95467 --- Comment #3 from Thomas Applencorut --- Yes, it's indeed working. It's because I made a typo in the reproducer. I Didn't copy the version who produce the ICE (should have been !$OMP END TARGET PARALLEL and not !$OMP END PARALLEL). Sorry about that... Please find below the correct version (the one who produce an ICE) bellow: PROGRAM target_parallel__simd USE OMP_LIB implicit none INTEGER :: i INTEGER :: counter !$OMP TARGET PARALLEL MAP(TOFROM: counter) !$OMP SIMD DO i = 1 , 262144 counter = 1 END DO !$OMP END TARGET PARALLEL END PROGRAM target_parallel__simd And to compile, it's indeed: gfortran -fopenmp target_parallel__simd.F90 Thanks a lot for looking at it, Thomas
[Bug fortran/95467] ICE in parse_omp_structured_block: OpenMP Offload (target_parallel__simd)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95467 Martin Liška changed: What|Removed |Added Status|WAITING |NEW Known to work||10.1.0, 11.0 --- Comment #4 from Martin Liška --- Fixed on master with r10-6136-g44a9d801a7080d39.