re PR debug/63284 (-fcompare-debug issue due to redirection to __builtin_unreachable ())
authorJakub Jelinek <jakub@redhat.com>
Wed, 17 Sep 2014 19:05:49 +0000 (21:05 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 17 Sep 2014 19:05:49 +0000 (21:05 +0200)
commitc83ee180191ab19daabee8edefa3e8cf4d00b67f
tree1e2dd22893555d54a49831e0c07134a5a8858d33
parentf020a31c22dc488c910243336cdd9c85d9f3fc5c
re PR debug/63284 (-fcompare-debug issue due to redirection to __builtin_unreachable ())

PR debug/63284
* tree-cfgcleanup.c (fixup_noreturn_call): Don't split block
if there are only debug stmts after the noreturn call, instead
remove the debug stmts.

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

From-SVN: r215331
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr63284.c [new file with mode: 0644]
gcc/tree-cfgcleanup.c