OSDN Git Service

PR rtl-optimization/56745
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Apr 2013 18:29:18 +0000 (18:29 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Apr 2013 18:29:18 +0000 (18:29 +0000)
commit50212417c361d93e51c68a9d2c69cad0079b09db
tree346ed796a8eef256e6eab10dfeb1fe9bbb51748c
parent137eddca1e884c7f157b6ad05c5f68b812ce4a89
PR rtl-optimization/56745
* ifcvt.c (cond_exec_find_if_block): Don't try to optimize
if then_bb has no successors and else_bb is EXIT_BLOCK_PTR.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197371 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr56745.c [new file with mode: 0644]