This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] Further debuginfo fixes for VLAs and nested functions
> If the FE creates the BIND_EXPR, then the gimplifier won't need to add it.
Sure, but the questions are:
(1) Should the gimplifier see BIND_EXPR-less function bodies?
(2) If yes, should it create half-backed BIND_EXPRs to brigde the gap?
> Anyway, the patch I posted cures this issue in tree-nested.c by adding
> directly to DECL_INITIAL's BLOCK_VARS, the debug_var_chain vars don't need
> to be in local_decls, they are for debug info purposes only.
Yes, but the problem might happen with other passes.
--
Eric Botcazou