re PR debug/52048 (-fcompare-debug failure with -O2 -fcompare-debug -fnon-call-except...
authorJakub Jelinek <jakub@redhat.com>
Mon, 30 Jan 2012 13:47:38 +0000 (14:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 30 Jan 2012 13:47:38 +0000 (14:47 +0100)
commitdd44dcb02211b31660a9688878d39ae9bf41aa52
treecd9ec4475d15f4f5effcf1dd180b2e4ab2d7c523
parentab448cfa68bc2686ba6fcf54e1ee40acd5e403a8
re PR debug/52048 (-fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts)

PR debug/52048
* tree-ssa-tail-merge.c (local_def): Ignore debug uses.

* g++.dg/other/pr52048.C: New test.

From-SVN: r183723
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr52048.C [new file with mode: 0644]
gcc/tree-ssa-tail-merge.c