From 81e864cb18e542505c44ec7837a13d39a2794dd5 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 3 Apr 2007 12:20:53 +0200 Subject: [PATCH] re PR target/31175 (isinf incorrectly expanded) PR target/31175 * config/i386/i386.md (isinf2): Expand only when TARGET_C99_FUNCTIONS is set. From-SVN: r123465 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.md | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0737cbeaeec..0a56ebc63e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -34,6 +34,12 @@ constraints shall have the same length if they start with the same letter. +2007-04-03 Uros Bizjak + + PR target/31175 + * config/i386/i386.md (isinf2): Expand only when + TARGET_C99_FUNCTIONS is set. + 2007-04-03 Uros Bizjak * config.gcc (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 2fc4f5f1072..849ca830eba 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -18236,8 +18236,9 @@ [(use (match_operand:SI 0 "register_operand" "")) (use (match_operand:X87MODEF 1 "register_operand" ""))] "TARGET_USE_FANCY_MATH_387 - && (!(SSE_FLOAT_MODE_P (mode) && TARGET_SSE_MATH) - || TARGET_MIX_SSE_I387)" + && TARGET_C99_FUNCTIONS + && (!(SSE_FLOAT_MODE_P (mode) && TARGET_SSE_MATH) + || TARGET_MIX_SSE_I387)" { rtx mask = GEN_INT (0x45); rtx val = GEN_INT (0x05); -- 2.30.2