[patch, libfortran] PR 32858 - printf()-capabilities for runtime_error

Jerry DeLisle jvdelisle@verizon.net
Sun Jul 29 19:55:00 GMT 2007


Thomas Koenig wrote:
> :ADDPATCH fortran:
> 
> Hello world,
> 
> this patch allows gfortran's internal runtime_error()
> function to take on printf-style arguments, in order to
> report additional information to the user.  One example
> is included, reporting the extents for a bounds-check error
> for PR 30814.
> 
> With this patch in place, we should be able to generate more
> useful diagnostics, especially for bounds-check errors.
> 
> It also removes the st_sprintf function, which used to implement
> a subset of sprintf's capabilities, and replaces it with
> sprintf.
> 
> Successfully bootstrapped on a recent trunk on i686-pc-linux-gnu.
> Currently regression-testing.  OK for trunk if this passes?
> 
> 	Thomas

OK, thanks.



More information about the Fortran mailing list