re PR rtl-optimization/51767 (ICE with degenerated asm goto)
authorJakub Jelinek <jakub@redhat.com>
Thu, 5 Jan 2012 20:20:57 +0000 (21:20 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 5 Jan 2012 20:20:57 +0000 (21:20 +0100)
commita3e6a37b65335d59140b5415cabcb34ca6951371
tree990059fd6e94d825094e7d8bc0afd68533edad28
parent36363ebb88950dc5b411ceb1fa53d7ee2edd0a38
re PR rtl-optimization/51767 (ICE with degenerated asm goto)

PR rtl-optimization/51767
* cfgrtl.c (force_nonfallthru_and_redirect): Force addition
of jump_block and add an extra edge for degenerated asm gotos.

* gcc.c-torture/compile/pr51767.c: New test.

From-SVN: r182922
gcc/ChangeLog
gcc/cfgrtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr51767.c [new file with mode: 0644]