On Tue, Sep 11, 2012 at 04:41:24PM +0200, Steven Bosscher wrote: > > + if (args_to_skip) > > + for (parm = DECL_ARGUMENTS (current_function_decl), num = 0; > > + parm; parm = DECL_CHAIN (parm), num++) > > + if (bitmap_bit_p (args_to_skip, num) > > + && is_gimple_reg (parm)) > > + { > > + tree ddecl; > > + gimple def_temp; > > + > > + arg = get_or_create_ssa_default_def (cfun, parm); > > + if (!MAY_HAVE_DEBUG_STMTS) > > + continue; > > You can do this MAY_HAVE_DEBUG_STMTS check before the loop, e.g. > > > + if (args_to_skip && MAY_HAVE_DEBUG_STMTS)
No, that would result in -fcompare-debug failures if parm doesn't have a default def yet. Jakub