re PR target/33133 (ICE in try_ready, at haifa-sched.c:2958 with -O2/-O3)
authorMaxim Kuvyrkov <maxim@codesourcery.com>
Mon, 15 Oct 2007 10:30:13 +0000 (10:30 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Mon, 15 Oct 2007 10:30:13 +0000 (10:30 +0000)
commit93b4b4cc8401829bd6be58f24ebaee00aecedb10
tree10d9583a0f676cb45bcb0f35f9d784484c56e5d7
parent5c7c209b1f094110552c56f556ade12c20e58823
re PR target/33133 (ICE in try_ready, at haifa-sched.c:2958 with -O2/-O3)

PR target/33133

* haifa-sched.c (process_insn_forw_deps_be_in_spec): Check if
speculation type of insn can be changed before trying to do that.

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

From-SVN: r129315
gcc/ChangeLog
gcc/haifa-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr33133.c [new file with mode: 0644]