[patch, fortran] error.c: Cleanup, refactoring, column numbers in filename lines.

Steve Kargl sgk@troutmask.apl.washington.edu
Mon Nov 13 22:12:00 GMT 2006


On Mon, Nov 06, 2006 at 04:54:22PM -0800, Brooks Moses wrote:
> :ADDPATCH fortran:
> 
> Brooks Moses wrote:
> >fortran/ChangeLog:
> >
> >2006-11-05  Brooks Moses  <brooks.moses@codesourcery.com>
> >
> >	* 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/ChangeLog:
> >
> >2006-11-05  Brooks Moses  <brooks.moses@codesourcery.com>
> >
> >	* lib/gfortran-dg.exp (gfortran-dg-test): Ignore column
> >	numbers in error message headers.
> >
> >------------------------------------------------------------------
> >
> >Ok for trunk, once someone fixes the bootstrap, and I get a chance to 
> >regression test it there?
> 
> Update: I now have a working trunk build tree, and the combined patch 
> has passed regression testing on i686-pc-linux-gnu.  Ok to commit?
> 

OK for trunk.  If you backported and tested the patch on 4.2, then
I think you should apply it there as well.

-- 
Steve



More information about the Fortran mailing list