[Patch,Fortran] PR45186 - P2 regression - gfortran 4.6 emits wrong line numbers

Tobias Burnus burnus@net-b.de
Thu Sep 2 13:29:00 GMT 2010


  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

Built and currently regtesting on x86-64-linux.
OK for the trunk? (Assuming that there are no testsuite failures.)

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input-loc-1.diff
Type: text/x-patch
Size: 50124 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100902/84531abc/attachment.bin>


More information about the Fortran mailing list