This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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


> 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


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