re PR tree-optimization/55755 (Invalid VIEW_CONVERT_EXPR produced by SRA)
authorMartin Jambor <mjambor@suse.cz>
Fri, 4 Jan 2013 13:20:38 +0000 (14:20 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 4 Jan 2013 13:20:38 +0000 (14:20 +0100)
commit87eab55418a76e2912b8b2d1e1acb0f37c137017
tree36dbf3acb2f58a0929719fd035fe57a3dfc6e32c
parent90d04a445cb821407e109da069ac93cd5ff3031f
re PR tree-optimization/55755 (Invalid VIEW_CONVERT_EXPR produced by SRA)

2013-01-04  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/55755
* tree-sra.c (sra_modify_assign): Do not check that an access has no
children when trying to avoid producing a VIEW_CONVERT_EXPR.

testsuite/
* gcc.dg/torture/pr55755.c: New test.
* gcc.dg/tree-ssa/sra-13.c: Likewise.
* gcc.dg/tree-ssa/pr45144.c: Update.

From-SVN: r194905
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr55755.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr45144.c
gcc/testsuite/gcc.dg/tree-ssa/sra-13.c [new file with mode: 0644]
gcc/tree-sra.c