re PR target/31175 (isinf incorrectly expanded)
authorUros Bizjak <ubizjak@gmail.com>
Tue, 3 Apr 2007 10:20:53 +0000 (12:20 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 3 Apr 2007 10:20:53 +0000 (12:20 +0200)
       PR target/31175
       * config/i386/i386.md (isinf<mode>2): Expand only when
       TARGET_C99_FUNCTIONS is set.

From-SVN: r123465

gcc/ChangeLog
gcc/config/i386/i386.md

index 0737cbeaeecbf9940ca586fa464e0ea77cc7bbed..0a56ebc63e23dfb25997d4160cab6472e51cdb75 100644 (file)
        constraints shall have the same length if they start with the same
        letter.
 
+2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/31175
+       * config/i386/i386.md (isinf<mode>2): Expand only when
+       TARGET_C99_FUNCTIONS is set.
+
 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
 
        * config.gcc (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
index 2fc4f5f1072efcac8dd99308f10f55323f93eefb..849ca830ebafd0b3a0bda2b084714e851a0f9384 100644 (file)
   [(use (match_operand:SI 0 "register_operand" ""))
    (use (match_operand:X87MODEF 1 "register_operand" ""))]
   "TARGET_USE_FANCY_MATH_387
-  && (!(SSE_FLOAT_MODE_P (<MODE>mode) && TARGET_SSE_MATH)
-      || TARGET_MIX_SSE_I387)"
+   && TARGET_C99_FUNCTIONS
+   && (!(SSE_FLOAT_MODE_P (<MODE>mode) && TARGET_SSE_MATH)
+       || TARGET_MIX_SSE_I387)"
 {
   rtx mask = GEN_INT (0x45);
   rtx val = GEN_INT (0x05);