... and now committed as r11-5572-g1d6f6ac693a8601bef9fe4ba72eb6fbf7b60b5cd.
Thanks again for the suggestions!
Tobias
On 27.11.20 23:14, Tobias Burnus wrote:
On 27.11.20 18:31, Jakub Jelinek via Fortran wrote:
Depends on what does the OpenACC standard say.
If it has similar wording to OpenMP
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander
Walter
Fortran: With OpenACC, ignore OpenMP's cond comp sentinels
gcc/fortran/ChangeLog:
PR fortran/98011
* scan
On Fri, Nov 27, 2020 at 06:18:46PM +0100, Tobias Burnus wrote:
> '!' starts in Fortran a comment (+ fixed-form variants)
> OpenACC defines as sentinel "!$acc" (likewise)
> But OpenMP has two: Besides "!$omp" there is additionally
> "!$ " (with space) to permit conditional compilation.
>
> Currentl
r: Thomas Heurung, Alexander
Walter
Fortran: With OpenACC, ignore OpenMP's cond comp sentinels
gcc/fortran/ChangeLog:
PR fortran/98011
* scanner.c (skip_free_comments): If only -fopenacc but not -fopenmp
is used, ignore OpenMP's conditional compilation sentinels.
gcc/testsuite/Chan