[PATCH] Further debuginfo fixes for VLAs and nested functions

Eric Botcazou ebotcazou@adacore.com
Thu Apr 23 19:53:00 GMT 2009


> 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



More information about the Fortran mailing list