i386.c (override_options): Correct x86_sahf setting condition.
authorUros Bizjak <ubizjak@gmail.com>
Fri, 22 Jun 2007 12:56:37 +0000 (14:56 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 22 Jun 2007 12:56:37 +0000 (14:56 +0200)
* config/i386/i386.c (override_options): Correct x86_sahf
setting condition.

From-SVN: r125948

gcc/ChangeLog
gcc/config/i386/i386.c

index 0a447dd..e97babf 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-22  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (override_options): Correct x86_sahf
+       setting condition.
+
 2007-06-21  David Daney  <ddaney@avtrex.com>
 
        PR target/32406
index ad51cb6..1483cac 100644 (file)
@@ -2059,7 +2059,7 @@ override_options (void)
          x86_popcnt = true;
        if (processor_alias_table[i].flags & (PTA_PREFETCH_SSE | PTA_SSE))
          x86_prefetch_sse = true;
-       if ((processor_alias_table[i].flags & PTA_NO_SAHF) && !TARGET_64BIT)
+       if (!(TARGET_64BIT && (processor_alias_table[i].flags & PTA_NO_SAHF)))
          x86_sahf = true;
 
        break;