OSDN Git Service

PR rtl-optimization/47157
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Jan 2011 20:59:20 +0000 (20:59 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Jan 2011 20:59:20 +0000 (20:59 +0000)
commitaf9b9305f1411dd3b55003c73336893f7b523d06
treea5d208c43ab55221a90b175688171ca074b3ad73
parentd91f7526fb89f7d993f570efe6ca75ab6f856370
PR rtl-optimization/47157
* combine.c (try_combine): If undobuf.other_insn becomes
(set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
and set *new_direct_jump_p too.

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

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