PR tree-optimization/55920
commitddce22b867dfbaf518432e83ba2e34466609a546
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jan 2013 16:33:24 +0000 (15 16:33 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jan 2013 16:33:24 +0000 (15 16:33 +0000)
tree233c3be517e334266d67afb8bd40f84a91531a62
parent1969f96dd8b9678be073c01c2211e1cff201efcb
PR tree-optimization/55920
* tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
there is non-useless type conversion needed from debug rhs to lhs,
use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.

* gcc.c-torture/compile/pr55920.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195209 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr55920.c [new file with mode: 0644]
gcc/tree-sra.c