Re: Fortran: With OpenACC, ignore OpenMP's cond comp sentinels [PR98011]

2020-11-30 Thread Tobias Burnus
... 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

Re: Fortran: With OpenACC, ignore OpenMP's cond comp sentinels [PR98011]

2020-11-27 Thread Tobias Burnus
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 that '!$ ' stands ... It only has '!$acc' (free) and !$acc + c$acc + *$acc (fixed). cf. https://www.openacc.org/sites/default/files/inline-images/Specification

Re: Fortran: With OpenACC, ignore OpenMP's cond comp sentinels

2020-11-27 Thread Jakub Jelinek via Gcc-patches
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