[gomp] Fix a !$omp do parsing bug, testcase fixes

Diego Novillo dnovillo@redhat.com
Tue Oct 18 18:29:00 GMT 2005


On Tuesday 18 October 2005 14:00, Jakub Jelinek wrote:

> Additionally there are some changes to the tests:
> 1) dejagnu doesn't like multiple dg-errors for the same error same line,
> even when the error is supposed to be printed multiple times - one
> dg-error will cover all such errors and the extra dg-error lines result
> in errors
>
Yeah, I just fixed this particular one.

> 2) we only issue default (none) diagnostic the first time we 
> see a bug on a particular variable (which is the right thing IMNSHO). 
> Thus we can't expect the errors in the additional places where the var
> is used as well. I have cloned the testcase and commented out a line in
> the clone, so that more errors can be detected.  Though y is still
> reported on the firstprivate (y) line rather than on z[i] = y;, but even
> that makes sense.  firstprivate actually uses the outer variable.
>
This one's fixed too.  I just created other variables that should get 
diagnostics.

> 3) add dg-error lines to a.6.[12].f90.
>
> Ok for gomp?
>
Yup.  Thanks.



More information about the Fortran mailing list