re PR debug/49602 (verify_ssa failed (definition does not dominate use) with "-O2...
authorJakub Jelinek <jakub@redhat.com>
Mon, 4 Jul 2011 17:19:52 +0000 (19:19 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 4 Jul 2011 17:19:52 +0000 (19:19 +0200)
commit15923c25df505b21061fda148dcb2b036af4735a
tree923ee6bb7c94810daeb4d2239aece6bc1e8b8edd
parent0d5e0c1bf0e68323091e3f3152ad4676cd59e53d
re PR debug/49602 (verify_ssa failed (definition does not dominate use) with "-O2 -g")

PR debug/49602
* tree-into-ssa.c (rewrite_debug_stmt_uses): Disregard
get_current_def return value if it can't be trusted to be
the current value of the variable in the current bb.

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

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