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

Paul Richard Thomas paul.richard.thomas@gmail.com
Sun Jun 22 12:46:00 GMT 2008


Thanks Tobias,

I'm still trying to figure out where the locus gets lost, in the hope
of doing something better.

Cheers

Paul

On Sun, Jun 22, 2008 at 1:33 PM, Tobias Burnus <burnus@net-b.de> wrote:
> 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.
>>
>
>



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
 --Hitchhikers Guide to the Galaxy



More information about the Gcc-patches mailing list