This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]