[fortran, patch] Fix display of locus when source contains wide characters
FX
fxcoudert@gmail.com
Sat Mar 3 15:09:00 GMT 2012
The attached patch fixes PR 36160 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36160). It should correctly account for wide characters when display error loci. I'm not sure if we can check that in the testsuite harness, but you can manually see it at work on the attached test.f90.
Bootstrapped and regtested on x86_64-apple-darwin11, OK for trunk?
FX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: widechar_locus.ChangeLog
Type: application/octet-stream
Size: 288 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120303/2aa701ed/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: widechar_locus.diff
Type: application/octet-stream
Size: 3027 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120303/2aa701ed/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.f90
Type: application/octet-stream
Size: 68 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120303/2aa701ed/attachment-0002.obj>
More information about the Fortran
mailing list