This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] Improve expansion into DEBUG_IMPLICIT_PTR (PR debug/54970)


> 2012-10-18  Jakub Jelinek  <jakub@redhat.com>
>
>         PR debug/54970
>         * cfgexpand.c (expand_debug_expr): Expand &MEM_REF[&var, n]
>         as DEBUG_IMPLICIT_PTR + n if &var expands to DEBUG_IMPLICIT_PTR.
>         * tree-sra.c (create_access_replacement): Allow also MEM_REFs
>         with ADDR_EXPR first operand in DECL_DEBUG_EXPR expressions.
>         * var-tracking.c (track_expr_p): Handle MEM_REFs in DECL_DEBUG_EXPR
>         expressions.
>         * dwarf2out.c (add_var_loc_to_decl): Likewise.

OK on the dwarf2out.c part.

-cary


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