Re: [PATCH] Avoid SRA-created debug binds with uninitialized RHSs

2013-02-27 Thread Jakub Jelinek
On Wed, Feb 27, 2013 at 04:08:09PM +0100, Martin Jambor wrote: > 2013-02-26 Martin Jambor > > * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements > with no initialization to the RHS of debug statements. Okay. > --- src.orig/gcc/tree-sra.c > +++ src/gcc/tree-sra

[PATCH] Avoid SRA-created debug binds with uninitialized RHSs

2013-02-27 Thread Martin Jambor
Hi, looking at dumps of PR 56294 I have noticed that on one occasion, SRA total scalarization mechanism replaced an uninitialized structure with scalar replacements and these then happened to end up in DEBUG bind statements describing another structure. Such replacements then did not end up in th