[Patch, Fortran] PR 41359 - fix debug line for IF conditions

Paul Richard Thomas paul.richard.thomas@gmail.com
Tue Feb 22 10:12:00 GMT 2011


Dear Tobias,

This is OK - thanks for the patch.

Cheers

Paul

On Tue, Feb 22, 2011 at 8:57 AM, Tobias Burnus <burnus@net-b.de> wrote:
> The patch corrects the line of the IF conditions; the line of the IF itself
> is already correct. See PR for an example.
>
> Without patch (-fdump-tree-original-lineno):
>
>      [foo.f90 : 6] if ([foo.f90 : 5] a>  0)
> with patch
>      [foo.f90 : 6] if ([foo.f90 : 6] a>  0)
>
>
> Build and regtested on x86-64-linux.
> OK?
>
> Tobias
>
> PS: Without the where.lb condition, it segfaults for pointer_check_8.f90.
>



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



More information about the Fortran mailing list