From f345f84ae69406344bbc74ff0c72904e317ad4fe Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Sun, 12 Jul 2009 15:59:42 +0000 Subject: cygming.h (TARGET_OS_CPP_BUILTINS): Define _X86_ just for 32-bit case. 2009-07-12 Kai Tietz * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define _X86_ just for 32-bit case. From-SVN: r149532 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/cygming.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 89edef1..136fd4e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-07-12 Kai Tietz + + * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define _X86_ + just for 32-bit case. + 2009-07-12 Jan Hubicka PR tree-optimization/40585 diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index 431e926..bc81554 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -73,7 +73,8 @@ along with GCC; see the file COPYING3. If not see #define TARGET_OS_CPP_BUILTINS() \ do \ { \ - builtin_define ("_X86_=1"); \ + if (!TARGET_64BIT) \ + builtin_define ("_X86_=1"); \ builtin_assert ("system=winnt"); \ builtin_define ("__stdcall=__attribute__((__stdcall__))"); \ builtin_define ("__fastcall=__attribute__((__fastcall__))"); \ -- cgit v1.1