]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/24265 (ICE: in extract_insn, at recog.c:2084 with -O -fgcse -fmove-loop...
authorSteven Bosscher <stevenb@suse.de>
Fri, 11 Nov 2005 19:34:39 +0000 (19:34 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Fri, 11 Nov 2005 19:34:39 +0000 (19:34 +0000)
commita7f4ccb197fe07510a29c3408eff1ed838fff4fa
tree5100e811789504438417f4754074c36177d090f3
parentd35a40fca5e07a1b8399e1299110b97b960e7109
re PR target/24265 (ICE: in extract_insn, at recog.c:2084 with -O -fgcse -fmove-loop-invariants -mtune=pentiumpro)

PR 24265
* loop-invariant.c (may_assign_reg_p): Make sure a hard register
can be assigned to.
(find_invariant_insn): Do the cheapest check, may_assign_reg_p,
before check_maybe_invariant.
(move_invariant_reg): Use gen_move_insn instead of replacing
SET_DEST with the temporary for the invariant.
(move_loop_invariants): If checking is enabled, do internal
consistency checks after completing the pass.

From-SVN: r106795
gcc/ChangeLog
gcc/loop-invariant.c