On 02/11/2014 09:36 AM, Jakub Jelinek wrote: > Hi! > > As discussed in the PR, this patch adds VCE if types aren't compatible, > in order not to create invalid debug stmts. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > 2014-02-11 Richard Henderson <r...@redhat.com> > Jakub Jelinek <ja...@redhat.com> > > PR debug/59776 > * tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR > around drhs if type conversion to lacc->type is not useless. > > * gcc.dg/guality/pr59776.c: New test.
Ok. Nice test case. r~