re PR rtl-optimization/11634 ([hppa] ICE in verify_local_live_at_start, at flow.c...
authorRoger Sayle <roger@eyesopen.com>
Tue, 2 Dec 2003 01:43:58 +0000 (01:43 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Tue, 2 Dec 2003 01:43:58 +0000 (01:43 +0000)
commitd9e7c8e3c35b45d40660abe038d4379eb4f770a3
treea53fd78aee8f68647d8de3b2cf423c36acf60972
parentb58b21d521f8ee8dd0f53708d937db75262ae65e
re PR rtl-optimization/11634 ([hppa] ICE in verify_local_live_at_start, at flow.c:555)

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.

From-SVN: r74145
gcc/ChangeLog
gcc/recog.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20031201-2.c [new file with mode: 0644]