------- Comment #5 from uros at kss-loka dot si 2005-10-11 08:55 -------
(In reply to comment #4)
>
> gcse-sm blindly converted valid insn pattern into unrecognized insn pattern.
The problem is in gcse.c, function replace_store_insn(), line 6294:
6293 mem = smexpr->pattern;
6294 insn = gen_move_insn (reg, SET_SRC (single_set (del)));
6295 insn = emit_insn_after (insn, del);
This code does not handle parallels and replaces only destination of an insn
pattern. "ashlsi3" pattern, as defined in i386.md also requires operand 0 and
operand 1 to match (via ix86_expand_binary_operator ()).
--
uros at kss-loka dot si changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uros at kss-loka dot si
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24257