re PR fortran/63858 (fixed form OpenACC directive ICE with -fopenacc -fopenmp)
PR fortran/63858 gcc/fortran/ * scanner.c (skip_oacc_attribute): Remove continue_flag parameter. Rename as ... (skip_free_oacc_sentinel): ... this. (skip_omp_attribute): Remove continue_flag parameter. Rename as ... (skip_free_omp_sentinel): ... this. (skip_free_comments): Update to call skip_free_oacc_sentinel and skip_free_omp_sentinel. (skip_fixed_omp_sentinel): New function. (skip_fixed_oacc_sentinel): New function. (skip_fixed_comments): Fix mix of OpenACC and OpenMP sentinels in continuation. gcc/testsuite/ * goacc/omp-fixed.f: New test. * goacc/omp.f95: Add check for mis-matched omp and acc continuations. Co-Authored-By: Cesar Philippidis <cesar@codesourcery.com> From-SVN: r230872
Showing
gcc/testsuite/gfortran.dg/goacc/omp-fixed.f
0 → 100644
Please
register
or
sign in
to comment