[Patch,Fortran] PR45186 - P2 regression - gfortran 4.6 emits wrong line numbers
Paul Richard Thomas
paul.richard.thomas@gmail.com
Thu Sep 2 14:01:00 GMT 2010
Dear Tobias,
On Thu, Sep 2, 2010 at 3:21 PM, Tobias Burnus <burnus@net-b.de> wrote:
> This is part 1 of the fix for PR fortran/45186; it changes a couple of
> "fold_build[0-9]" to "fold_build[0-9]_loc(input_location,".
>
> In order to fully fix the P2 (!) regression, one needs to change all
> fold_build, fix some locations which are wrong (i.e. where input_location is
> not the correct position), and possibly a bit more.
>
> Remaining: 622 folds_builds, namely
> trans-array.c:198
> trans.c:51
> trans-expr.c:94
> trans-intrinsic.c:216
> trans-io.c:29
> trans-openmp.c:34
Gulp!
>
> Built and currently regtesting on x86-64-linux.
> OK for the trunk? (Assuming that there are no testsuite failures.)
Yes, of course! Incidentally, my manifestation of FX's memory
checking patch, set gfc_current_locus in trans.c. I do not have the
source to hand at the moment. Has this been implemented anyway?
Cheers
Paul
More information about the Fortran
mailing list