summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-05-23 21:43:34 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-05-23 19:43:34 +0000
commit97242ddc18afd98999315219466d11d2e5b97ad5 (patch)
tree93d099c4c95a1774f6aab31f50129ad37ecbe281
parent973a43f6e6981371e1a95bfd66f54c596f339455 (diff)
downloadgcc-97242ddc18afd98999315219466d11d2e5b97ad5.tar.gz
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 <aj@suse.de> From-SVN: r67130
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.h3
2 files changed, 8 insertions, 1 deletions
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 <jh@suse.cz>
+ Andreas Jaeger <aj@suse.de>
+
+ * i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__;
+ do not use assertion.
+
2003-05-23 Mike Stump <mrs@apple.com>
* 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"); \