From 17959958bc8dbb861fb25cbf0edec426317e68bc Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 4 Aug 2010 16:58:14 -0700 Subject: [PATCH] Remove duplicate definition of TARGET_64BIT_MS_ABI. 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 | 2 ++ gcc/config/i386/cygming.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d78cce9c5e..2569871d48a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2010-08-04 Richard Henderson + * 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 diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index 1587af472cc..a6434f354fa 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) -- 2.30.2