re PR debug/55579 (SRA doesn't create debug stmts when they would be useful)
commit4267a4a6ce7a778a24e50fa36106ad0672aeb424
authorMartin Jambor <mjambor@suse.cz>
Tue, 8 Jan 2013 14:10:44 +0000 (8 15:10 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 8 Jan 2013 14:10:44 +0000 (8 15:10 +0100)
treebf20a1a93aced6f048f916251195f06361aa0722
parent80a8d5212e6f3841c5c20a04f3b479d4fb6f9b9d
re PR debug/55579 (SRA doesn't create debug stmts when they would be useful)

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

PR debug/55579
* tree-sra.c (analyze_access_subtree): Return true also after
potentially creating a debug-only replacement.

testsuite/
* gcc.dg/tree-ssa/pr55579.c: New test.

From-SVN: r195015
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr55579.c [new file with mode: 0644]
gcc/tree-sra.c