Commit 8426c25e by Richard Henderson Committed by Richard Henderson

re PR target/15550 ([i386] ICE in extract_insn, at recog.c:2083)

        PR target/15550
        * ifcvt.c (noce_try_move): Recognize all generated instructions.

From-SVN: r83395
parent eb4e1c01
2004-06-19 Richard Henderson <rth@redhat.com>
PR target/15550
* ifcvt.c (noce_try_move): Recognize all generated instructions.
2004-06-19 Jan Hubicka <jh@suse.cz>
* function.c (free_after_compilation): Do not free computed_goto_common*.
......
......@@ -745,6 +745,15 @@ noce_try_move (struct noce_if_info *if_info)
seq = get_insns ();
unshare_ifcvt_sequence (if_info, seq);
end_sequence ();
/* Make sure that all of the instructions emitted are
recognizable. As an excersise for the reader, build
a general mechanism that allows proper placement of
required clobbers. */
for (y = seq; y ; y = NEXT_INSN (y))
if (recog_memoized (y) == -1)
return FALSE;
emit_insn_before_setloc (seq, if_info->jump,
INSN_LOCATOR (if_info->insn_a));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment