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] Further debuginfo fixes for VLAs and nested functions


On Wed, Apr 22, 2009 at 01:06:50PM +0200, Jakub Jelinek wrote:
> Hi!
> 
> This patch on top of:
> http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00602.html
> http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00604.html

Since these are non-fortran changes, I think that I do not
have the maintainer privilege to OK the patches.  However,
...

> 	* trans-decl.c: Include pointer-set.h.
> 	(nonlocal_dummy_decl_pset, tree nonlocal_dummy_decls): New variables.
> 	(gfc_nonlocal_dummy_array_decl): New function.
> 	(gfc_get_symbol_decl): Call it for non-local dummy args with saved
> 	descriptor.
> 	(gfc_get_symbol_decl): Set DECL_BY_REFERENCE when needed.
> 	(gfc_generate_function_code): Initialize nonlocal_dummy_decl{s,_pset},
> 	chain it to outermost block's vars, destroy it afterwards.
> 
> 	* Make-lang.in (trans-decl.o): Depend on pointer-set.h.

this part is OK and can be committed when someone else
approves the other needed patches.

-- 
Steve


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