This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Improve expansion into DEBUG_IMPLICIT_PTR (PR debug/54970)
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Oct 2012 06:39:48 -0200
- Subject: Re: [PATCH] Improve expansion into DEBUG_IMPLICIT_PTR (PR debug/54970)
- References: <20121018121749.GX584@tucnak.redhat.com>
On Oct 18, 2012, Jakub Jelinek <jakub@redhat.com> wrote:
> 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.
var-tracking.c and expand_debug_expr changes are ok. I guess with this
you got the whole patch approved.
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer