From 35b528be831e82588c0503c9fae12868ce14104f Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 7 Oct 1992 08:39:42 +0000 Subject: [PATCH] (TARGET_CPU_DEFAULT): Add default definition. (TARGET_SWITCHES): Include that in the default. From-SVN: r2350 --- gcc/config/i386/i386.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index abec9d764fe..5de401d504d 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -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 -- 2.30.2