mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 11:59:32 +08:00
re PR target/10795 (ICE in extract_insn, at recog.c:2188)
PR target/10795 * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't swap comparison operands if doing so would generate an unrecognizable insn. From-SVN: r69407
This commit is contained in:
parent
b5524f9497
commit
5df90541c7
@ -1,3 +1,10 @@
|
||||
2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
PR target/10795
|
||||
* config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
|
||||
swap comparison operands if doing so would generate an
|
||||
unrecognizable insn.
|
||||
|
||||
2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
PR optimization/11320
|
||||
|
@ -9383,6 +9383,11 @@ ix86_expand_carry_flag_compare (enum rtx_code code, rtx op0, rtx op1, rtx *pop)
|
||||
return false;
|
||||
code = (code == GTU ? GEU : LTU);
|
||||
}
|
||||
else if (!nonimmediate_operand (op1, mode)
|
||||
|| !general_operand (op0, mode))
|
||||
/* Swapping operands in this case would generate an
|
||||
unrecognizable insn. */
|
||||
return false;
|
||||
else
|
||||
{
|
||||
rtx tmp = op1;
|
||||
|
Loading…
Reference in New Issue
Block a user