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

2019-10-08 Thread Tobias Burnus
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:

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

2019-10-08 Thread Jakub Jelinek
On Tue, Oct 08, 2019 at 11:53:52AM +0200, 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 > |

[Patch][Fortran] Improve OpenMP/OpenACC diagnostic if junk comes after a directive

2019-10-08 Thread Tobias Burnus
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