]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR rtl-optimization/51767 (ICE with degenerated asm goto)
authorJakub Jelinek <jakub@redhat.com>
Thu, 9 Feb 2012 21:36:54 +0000 (22:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 9 Feb 2012 21:36:54 +0000 (22:36 +0100)
commit15e45b414da575096214b01fbf30f0011f88397a
treef84a80a685d434c146decefc0b910531fe358ba0
parent6812883fbd2d04bdc900e8b668d5c38017b11726
backport: re PR rtl-optimization/51767 (ICE with degenerated asm goto)

Backported from mainline
2012-01-05  Jakub Jelinek  <jakub@redhat.com>

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: r184072
gcc/ChangeLog
gcc/cfgrtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr51767.c [new file with mode: 0644]