Patchwork [5/9] Remove duplicate definition of TARGET_64BIT_MS_ABI.

login
register
mail settings
Submitter Richard Henderson
Date Aug. 3, 2010, 11:53 p.m.
Message ID <1280879596-1089-6-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/60802/
State New
Headers show

Comments

Richard Henderson - Aug. 3, 2010, 11:53 p.m.
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.
---
 gcc/config/i386/cygming.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)


	* config/i386/cygming.h (TARGET_64BIT_MS_ABI): Remove.

Patch

diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h
index 1587af4..a6434f3 100644
--- a/gcc/config/i386/cygming.h
+++ b/gcc/config/i386/cygming.h
@@ -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)