[PR debug/46724] var-track address of RESULT_DECL
Richard Henderson
rth@redhat.com
Tue Dec 21 18:32:00 GMT 2010
On 12/20/2010 11:30 PM, Alexandre Oliva wrote:
> PR debug/46724
> * function.c (assign_parms_augmented_arg_list): Name and mark
> DECL of result address as NAMELESS rather than IGNORED.
> (assign_parms): Set DECL_VALUE_EXPR for indirect result.
> * tree.h (tree_decl_common::decl_flag_2): Document RESULT_DECL.
> (DECL_HAS_VALUE_EXPR_P): Accept RESULT_DECL.
> * dwarf2out.c (loc_list_from_tree) <RESULT_DECL>: Use
> DECL_VALUE_EXPR.
> * dbxout.c (dbxout_expand_expr) <RESULT_DECL>: Likewise.
> * var-tracking.c (vt_add_function_parameter): New, split out of...
> (vt_add_function_parameters): ... this. Handle incoming
> pointer to hold result.
Ok, with a function comment for vt_add_function_parameter.
r~
More information about the Gcc-patches
mailing list