Re: [patch, fortran] Improve error messages for mismatched arguments

2019-09-14 Thread Steve Kargl
On Sat, Sep 14, 2019 at 02:27:15PM +0200, Thomas Koenig wrote: > > the attached patch improves the rather hard to read error > messages for argument mismatches. With this patch, this reads > > argument_checking_21.f90:7:11: > > 6 | call foo(1.0) ! { dg-warning "Rank mismatch" } >

[patch, fortran] Improve error messages for mismatched arguments

2019-09-14 Thread Thomas Koenig
Hello world, the attached patch improves the rather hard to read error messages for argument mismatches. With this patch, this reads argument_checking_21.f90:7:11: 6 | call foo(1.0) ! { dg-warning "Rank mismatch" } | 2 7 | call foo(b) ! { dg-warning "Rank mismatch