Remove duplicate definition of TARGET_64BIT_MS_ABI.
authorRichard Henderson <rth@redhat.com>
Wed, 4 Aug 2010 23:58:14 +0000 (16:58 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 4 Aug 2010 23:58:14 +0000 (16:58 -0700)
The definition in cygming.h differed from the definition in i386.h in
that the predicate was true for 32-bit when outside of any function.
Which (a) seems wrong and (b) never matters because the predicate is
only tested in terms of REGPARM and RED_ZONE, both of which are tied
to functions.

From-SVN: r162887

gcc/ChangeLog
gcc/config/i386/cygming.h

index 1d78cce9c5ec440b8fb131de9433a98b91ae091e..2569871d48ac6238bbf9153652145b4538285d6f 100644 (file)
@@ -1,5 +1,7 @@
 2010-08-04  Richard Henderson  <rth@redhat.com>
 
+       * config/i386/cygming.h (TARGET_64BIT_MS_ABI): Remove.
+
        * config/i386/i386.c (ix86_function_ms_hook_prologue): Fix
        argument name to reflect the expected tree; fix indentation.
        (ix86_asm_output_function_label): Output the entire 32-bit
index 1587af472cc01f908546890fa6e70fc5b8dfd278..a6434f354faef70558f28f2873caa05db6fa0b86 100644 (file)
@@ -33,9 +33,6 @@ along with GCC; see the file COPYING3.  If not see
 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
 #endif
 
-#undef TARGET_64BIT_MS_ABI
-#define TARGET_64BIT_MS_ABI (!cfun ? ix86_abi == MS_ABI : TARGET_64BIT && cfun->machine->call_abi == MS_ABI)
-
 #undef DEFAULT_ABI
 #define DEFAULT_ABI (TARGET_64BIT ? MS_ABI : SYSV_ABI)