re PR target/22576 (ICE with simple factorial program compiled with -ffast-math on gcc 4.0.2)

PR target/22576
        * config/i386/i386.md (cmpxf): Change operand constraints
        to "nonmemory_operand".

From-SVN: r102247
This commit is contained in:
Uros Bizjak 2005-07-21 21:55:03 +02:00 committed by Richard Henderson
parent 61cb44fe9b
commit 5acc26efac
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-07-21 Uros Bizjak <uros@kss-loka.si>
PR target/22576
* config/i386/i386.md (cmpxf): Change operand constraints
to "nonmemory_operand".
2005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
* config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2.

View file

@ -793,8 +793,8 @@
(define_expand "cmpxf"
[(set (reg:CC FLAGS_REG)
(compare:CC (match_operand:XF 0 "cmp_fp_expander_operand" "")
(match_operand:XF 1 "cmp_fp_expander_operand" "")))]
(compare:CC (match_operand:XF 0 "nonmemory_operand" "")
(match_operand:XF 1 "nonmemory_operand" "")))]
"TARGET_80387"
{
ix86_compare_op0 = operands[0];