[4.3/4.4 Regression] Wrong locus for errors in DATA statement

Tobias Burnus burnus@net-b.de
Sun Jun 22 11:34:00 GMT 2008


Paul Richard Thomas wrote:
> it was much simpler to substitute the rvalue locus by that
> of the lvaue in the error message.  The testcase is the reporter's.
>
> Bootstrapped and regtested on x86_ia64/FC8 - OK for trunk and 4.3?
>   
OK for 4.4 and 4.3. Thanks for the patch. (Having the RHS location would 
be nicer, but it is much better than 4.2 or 4.3/4.4.)

Tobias

> Paul
>
> 2008-06-18  Paul Thomas  <pault@gcc.gnu.org>
>
> 	PR fortran/34371
> 	* expr.c (gfc_check_assign):  Change message and locus for
> 	error when conform == 0.
>
> 2008-06-18  Paul Thomas  <pault@gcc.gnu.org>
>
> 	PR fortran/36371
> 	* gfortran.dg/data_array_5.f90: New test.
>   



More information about the Fortran mailing list