[OG9][committed] was: [Patch][Fortran] Improve OpenMP/OpenACC diagnostic if junk comes after a directive

Tobias Burnus Tobias_Burnus@mentor.com
Tue Oct 8 12:12:00 GMT 2019


I have now also committed the patch to the OG9 branch.

Tobias

PS: I added the review comment to add more test cases to my to-do list.

On 10/8/19 11:53 AM, Tobias Burnus wrote:
> Simple patch for better diagnostics:
>
> Before:
>
>    17 |   !$omp end target simd hjgfhg
>       |        1
> Error: Unclassifiable OpenMP directive at (1)
>
> Now:
>    17 |   !$omp end target simd hjgfhg
>       |                        1
> Error: Unexpected junk at (1)
>
>
> OK for the trunk?
>
> Cheers,
>
> Tobias
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.diff
Type: text/x-patch
Size: 13912 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191008/74578694/attachment.bin>


More information about the Gcc-patches mailing list