PR fortran/63858
commit54485efce55983b0c4a2221cfed2eea2af12b4a9
authorcesar <cesar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2015 14:37:36 +0000 (25 14:37 +0000)
committercesar <cesar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2015 14:37:36 +0000 (25 14:37 +0000)
tree52b1541b1db6fe53914d05a1f4d4e68fc9e68de7
parent22117b99a232de72545633f0536f74aa699d5fbd
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230872 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/scanner.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/omp-fixed.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/omp.f95