From 97242ddc18afd98999315219466d11d2e5b97ad5 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 23 May 2003 21:43:34 +0200 Subject: [PATCH] i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__; do not use assertion. * i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__; do not use assertion. Co-Authored-By: Andreas Jaeger From-SVN: r67130 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b9172275e3e..b3fe1bd6b23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Fri May 23 21:19:31 CEST 2003 Jan Hubicka + Andreas Jaeger + + * i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__; + do not use assertion. + 2003-05-23 Mike Stump * tlink.c (scan_linker_output): Add support for darwin linker, as it diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 1e39acf822a..6941f3ee93b 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -517,7 +517,8 @@ extern int x86_prefetch_sse; if (TARGET_64BIT) \ { \ builtin_assert ("cpu=x86_64"); \ - builtin_assert ("machine=x86_64"); \ + builtin_define ("__amd64"); \ + builtin_define ("__amd64__"); \ builtin_define ("__x86_64"); \ builtin_define ("__x86_64__"); \ builtin_define ("__amd64"); \ -- 2.30.2