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

Brooks Moses brooks.moses@codesourcery.com
Tue Nov 7 00:55:00 GMT 2006


: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?

- Brooks



More information about the Gcc-patches mailing list