From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23573 invoked by alias); 29 Jul 2007 19:55:21 -0000 Received: (qmail 23557 invoked by uid 22791); 29 Jul 2007 19:55:20 -0000 X-Spam-Check-By: sourceware.org Received: from vms040pub.verizon.net (HELO vms040pub.verizon.net) (206.46.252.40) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 29 Jul 2007 19:55:18 +0000 Received: from [192.168.1.2] ([71.120.231.21]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JLY00L9II04F008@vms040.mailsrvcs.net>; Sun, 29 Jul 2007 14:55:17 -0500 (CDT) Date: Sun, 29 Jul 2007 20:08:00 -0000 From: Jerry DeLisle Subject: Re: [patch, libfortran] PR 32858 - printf()-capabilities for runtime_error In-reply-to: <1185735235.3535.9.camel@meiner.onlinehome.de> To: Thomas Koenig Cc: fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org Message-id: <46ACEFC4.4000100@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <1185735235.3535.9.camel@meiner.onlinehome.de> User-Agent: Thunderbird 1.5.0.12 (X11/20070719) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02076.txt.bz2 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.