[Patch,Fortran] PR45186 - Part 2: gfortran 4.6 emits wrong line numbers

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


  This patch converts the trans-expr.c, trans-intrinsic.c, trans-io.c 
and trans-openmp.c's fold_build[0-9] to fold_build[0-9]_loc.

Remaining are 414 fold_builds:
trans-array.c:198
trans-intrinsic.c:216

Note: I only regtested (check-gfortran and libgomp) with -m64; there was 
no failure (except of the expected gfortran.dg/float128_1.f90). I have 
not tried -m32, but at least pr25923.f90 fails (with and without this 
patch, cf. PR 45505).

Build and regtested on x86-64-linux.
OK for the trunk?

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


More information about the Fortran mailing list