OSDN Git Service

2009-07-12 Kai Tietz <kai.tietz@onevision.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Jul 2009 15:59:42 +0000 (15:59 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Jul 2009 15:59:42 +0000 (15:59 +0000)
* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define _X86_
just for 32-bit case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149532 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 89edef1..136fd4e 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-12  Kai Tietz  <kai.tietz@onevision.com>
+
+       * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define _X86_
+       just for 32-bit case.
+
 2009-07-12  Jan Hubicka  <jh@suse.cz>
 
        PR tree-optimization/40585
index 431e926..bc81554 100644 (file)
@@ -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__))");    \