2012-10-26 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Oct 2012 10:12:35 +0000 (10:12 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Oct 2012 10:12:35 +0000 (10:12 +0000)
commit21951fbd4a7b88ef7ba76537f81a97c5b7e3358a
tree44fbb99e75e09d9b2374c79fd95d10119f0db2d6
parent32eca732897e9d19bf26f1283582ee3ff120ffed
2012-10-26  Richard Biener  <rguenther@suse.de>

PR middle-end/54824
* tree-optimize.c (execute_fixup_cfg): Insert __builtin_unreachable
at the end of blocks with no successors.

* gcc.dg/torture/pr54824.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192841 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr54824.c [new file with mode: 0644]
gcc/tree-optimize.c