OSDN Git Service

PR optimization/11634
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Dec 2003 01:43:58 +0000 (01:43 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Dec 2003 01:43:58 +0000 (01:43 +0000)
commit8c92d36e8ea9de079789c1e4696d5d2647190206
treea53fd78aee8f68647d8de3b2cf423c36acf60972
parent6933395236ae08dad201096d3572e9a1fb29a0bc
PR optimization/11634
* recog.c (split_insn): Factor test of INSN_P and handling of
set_noop_p out of here into the two callers.
(split_all_insns): Add INSN_P test and set_noop_p handling here.
If deleting a no-op set after reload that has a REG_UNUSED note,
mark the basic block as changed and recalculate life information.
(split_all_insns_noflow): Add INSN_P test and set_noop_p handling
here.

* gcc.dg/20031201-2.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74145 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/recog.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20031201-2.c [new file with mode: 0644]