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, fortran-dev] minimise static buffer usage for conformance check


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


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