i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__; do not use assertion.
authorJan Hubicka <jh@suse.cz>
Fri, 23 May 2003 19:43:34 +0000 (21:43 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 23 May 2003 19:43:34 +0000 (19:43 +0000)
* 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

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

index b9172275e3eff3518984fd1cf3b323940c4ff993..b3fe1bd6b23706ed8d64095bc8a90a442490078d 100644 (file)
@@ -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
index 1e39acf822a0172297b3529f5e8de9f68187ff8a..6941f3ee93b2556883f16a4ba63eaba1acdef704 100644 (file)
@@ -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");                           \