diff options
author | H.J. Lu <hjl@gnu.org> | 1999-04-01 03:01:19 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-03-31 20:01:19 -0700 |
commit | 80309a9c538790ad547764f7cd8a815ecf86dad9 (patch) | |
tree | 2f7bfeff55f1a9a076cd181e274120b61f8803b6 | |
parent | 9a6ac4b0c286968d9a74833e200cdb27760f5658 (diff) | |
download | gcc-80309a9c538790ad547764f7cd8a815ecf86dad9.zip gcc-80309a9c538790ad547764f7cd8a815ecf86dad9.tar.gz gcc-80309a9c538790ad547764f7cd8a815ecf86dad9.tar.bz2 |
i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT signed integer comparisons.
* i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT
signed integer comparisons.
From-SVN: r26099
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 237c5ed..b51551e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ Thu Apr 1 03:48:34 1999 H.J. Lu (hjl@gnu.org) + * i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT + signed integer comparisons. + * i386.c (output_int_conditional_move): Use "enum rtx_code" for code type. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 323838e..e288a15 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -5491,6 +5491,13 @@ output_fp_conditional_move (which_alternative, operands) int which_alternative; rtx operands[]; { + enum rtx_code code = GET_CODE (operands[1]); + + /* This should never happen. */ + if (!(cc_prev_status.flags & CC_IN_80387) + && (code == GT || code == LE || code == GE || code == LT)) + abort (); + switch (which_alternative) { case 0: |