diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/i386/cygming.h | 3 |
2 files changed, 7 insertions, 1 deletions
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 <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 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__))"); \ |
