re PR target/35659 (Miscompiled code with -O2 (but not with -O2 -funroll-loops) on...
commitc275297bdd09468bb84ab839e89f585ca9541fee
authorMaxim Kuvyrkov <maxim@codesourcery.com>
Wed, 6 Aug 2008 06:23:47 +0000 (6 06:23 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Wed, 6 Aug 2008 06:23:47 +0000 (6 06:23 +0000)
tree8f3b78a1d1981ab8d1ecf8b75384494399203c58
parenta0d33ff828f123b1682eeb346885b2f40e2db224
re PR target/35659 (Miscompiled code with -O2 (but not with -O2 -funroll-loops) on ia64)

PR target/35659
* haifa-sched.c (sched_insn_is_legitimate_for_speculation_p): Move ...
* sched-deps.c (sched_insn_is_legitimate_for_speculation_p): ... here.
Don't allow predicated instructions for data speculation.
* sched-int.h (sched_insn_is_legitimate_for_speculation_p): Move
declaration.

From-SVN: r138759
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-deps.c
gcc/sched-int.h