This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/63858] fixed form OpenACC directive ICE with -fopenacc -fopenmp
- From: "cesar at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Nov 2015 14:38:08 +0000
- Subject: [Bug fortran/63858] fixed form OpenACC directive ICE with -fopenacc -fopenmp
- Auto-submitted: auto-generated
- References: <bug-63858-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63858
--- Comment #7 from cesar at gcc dot gnu.org ---
Author: cesar
Date: Wed Nov 25 14:37:36 2015
New Revision: 230872
URL: https://gcc.gnu.org/viewcvs?rev=230872&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/goacc/omp-fixed.f
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/scanner.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/goacc/omp.f95