> +  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)

Ciao!
Steven

Reply via email to