aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-08-04 16:58:14 -0700
committerRichard Henderson <rth@gcc.gnu.org>2010-08-04 16:58:14 -0700
commit17959958bc8dbb861fb25cbf0edec426317e68bc (patch)
treec8b3aa1c22aecb9762edd8c7095eed0b32b718ee /gcc
parente8dc4658fa3910188ee5d7c66a801a14025df408 (diff)
downloadgcc-17959958bc8dbb861fb25cbf0edec426317e68bc.zip
gcc-17959958bc8dbb861fb25cbf0edec426317e68bc.tar.gz
gcc-17959958bc8dbb861fb25cbf0edec426317e68bc.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/i386/cygming.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1d78cce..2569871 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
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)