re PR tree-optimization/49000 (ICE: verify_ssa failed with -O2 -g)
authorJakub Jelinek <jakub@redhat.com>
Wed, 18 May 2011 09:22:41 +0000 (11:22 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 18 May 2011 09:22:41 +0000 (11:22 +0200)
commit116bc3a4d8ddc47c07bd9e619cd4f860d491069d
treee002a97f6a3a48c62d9a153ebadda0baf1093ecc
parentbf6490b56fc40295607429331a49de4c4ac46371
re PR tree-optimization/49000 (ICE: verify_ssa failed with -O2 -g)

PR tree-optimization/49000
* tree-ssa.c (execute_update_addresses_taken): Call
maybe_rewrite_mem_ref_base on debug stmt value.  If it couldn't
be rewritten and decl has been marked for renaming, reset
the debug stmt.

* gcc.dg/pr49000.c: New test.

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