Re: [PATCH] No SRA debug replacements for variables that cannot be removed

2013-01-15 Thread Jakub Jelinek
On Tue, Jan 15, 2013 at 04:52:16PM +0100, Martin Jambor wrote: > 2013-01-11 Martin Jambor > > PR tree-optimization/55920 > * tree-sra.c (analyze_access_subtree): Do not mark non-removable > accesses as grp_to_be_debug_replaced. Ok, thanks. > --- src.orig/gcc/tree-sra.c > +++

[PATCH] No SRA debug replacements for variables that cannot be removed

2013-01-15 Thread Martin Jambor
Hi, as discussed in PR 55920, this patch prevents SRA from creating debug replacements and debug statements for aggregate variables which cannot be scalarized away. Jakub bootstrapped and tested the patch and I suppose he is OK with it too so I will commit is shortly. Thanks, Martin 2013-01-1