------- Comment #2 from brooks at gcc dot gnu dot org  2006-11-15 03:44 -------
Subject: Bug 29702

Author: brooks
Date: Wed Nov 15 03:44:18 2006
New Revision: 118840

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118840
Log:
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.

Modified:
    branches/gcc-4_2-branch/gcc/fortran/ChangeLog
    branches/gcc-4_2-branch/gcc/fortran/error.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/gcc/testsuite/lib/gfortran-dg.exp


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29702

Reply via email to