]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/error.c
re PR fortran/29702 (RFE: Column number in error messages.)
authorBrooks Moses <brooks.moses@codesourcery.com>
Wed, 15 Nov 2006 04:00:35 +0000 (04:00 +0000)
committerBrooks Moses <brooks@gcc.gnu.org>
Wed, 15 Nov 2006 04:00:35 +0000 (20:00 -0800)
commit12c789666901a1e60b362e7ddd05429aa44e1554
treed7709ad3562ebe854f381be781123a0a692f8253
parent1dde868307b85e9be0f93c6e0483b4eb818ef3cf
re PR fortran/29702 (RFE: Column number in error messages.)

PR fortran/29702
* fortran/error.c (show_loci): Move column-offset calculation to
show_locus.
(show_locus): Remove blank lines before "Included in"
lines, clean up code, calculate column-offsets, print
column number is error-header lines as appropriate.
(error_integer): (new function) Print integer to error
buffer.
(error_print): Use error_integer, avoid possible buffer
overflows from buggy error formats.
* testsuite/lib/gfortran-dg.exp (gfortran-dg-test): Ignore column
numbers in error message headers.

From-SVN: r118843
gcc/fortran/ChangeLog
gcc/fortran/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/lib/gfortran-dg.exp
This page took 0.050283 seconds and 5 git commands to generate.