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

Tobias Burnus tobias@codesourcery.com
Mon Nov 30 14:39:51 GMT 2020


... 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 that '!$ ' stands ...
>
> It only has '!$acc' (free) and !$acc + c$acc + *$acc (fixed).
> cf.
> https://www.openacc.org/sites/default/files/inline-images/Specification/OpenACC-3.1-final.pdf
> (2.1 Directive Form)
>
>> .. if it is silent on that, then the patch is correct.
>>
>> What about fixed-form parsing?
>
> Missed that somehow. I have now added two fixed-form testcases
> (goacc + goacc-gomp) and a free one (goacc-gomp).
>
> Thanks,
>
> Tobias
>
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter


More information about the Gcc-patches mailing list