OSDN Git Service

(TARGET_CPU_DEFAULT): Add default definition.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Oct 1992 08:39:42 +0000 (08:39 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Oct 1992 08:39:42 +0000 (08:39 +0000)
(TARGET_SWITCHES): Include that in the default.

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

gcc/config/i386/i386.h

index abec9d7..5de401d 100644 (file)
@@ -57,6 +57,11 @@ extern int target_flags;
 
 /* Macros used in the machine description to test the flags.  */
 
+/* configure can arrage to make this 2, to force a 486.  */
+#ifndef TARGET_CPU_DEFAULT
+#define TARGET_CPU_DEFAULT 0
+#endif
+
 /* Compile 80387 insns for floating point (not library calls).  */
 #define TARGET_80387 (target_flags & 1)
 /* Compile code for an i486. */
@@ -110,7 +115,7 @@ extern int target_flags;
     { "fp-ret-in-387", 0200},                  \
     { "no-fp-ret-in-387", -0200},              \
     SUBTARGET_SWITCHES                          \
-    { "", TARGET_DEFAULT}}
+    { "", TARGET_DEFAULT | TARGET_CPU_DEFAULT}}
 
 /* This is meant to be redefined in the host dependent files */
 #define SUBTARGET_SWITCHES