[patch, fortran-dev] minimise static buffer usage for conformance check
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Apr 5 17:13:00 GMT 2009
On Thu, Apr 02, 2009 at 09:25:22AM +0200, Daniel Franke wrote:
> In
>
> http://gcc.gnu.org/ml/fortran/2009-03/msg00323.html
>
> Steve commented on the use of static buffers[80] for multiple symbol names,
> each with an allowed length of 63 characters each. This patch changes
> gfc_check_conformance() to a printf()-like syntax. Now, there's only one big
> static buffer in the function, instead of one small buffer for each caller.
>
>
> 2009-04-02 Daniel Franke <franke.daniel@gmail.com>
>
> * gfortran.h (gfc_check_conformance): Modified prototype to printf-style.
> * expr.c (gfc_check_conformance): Accept error-message chunks in
> printf-style. Changed all callers.
>
>
> Bootstrapped and regression tested on i686-pc-linux-gnu.
> Ok for dev-branch and trunk?
>
OK. Thanks for the patch.
--
Steve
More information about the Fortran
mailing list