From: Jeffrey A Law Date: Thu, 4 Sep 1997 20:50:19 +0000 (+0000) Subject: * i386.h (CPP_CPU_DEFAULT): Avoid using #elif. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da594c944883e41624c063d8f591c22feb4e078c;p=gcc.git * i386.h (CPP_CPU_DEFAULT): Avoid using #elif. From-SVN: r15083 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b1bee7cf0d1..e560fc63d7c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com) + + * i386.h (CPP_CPU_DEFAULT): Avoid using #elif. + Thu Sep 4 15:01:49 1997 Michael Meissner * toplev.c (rest_of_compilation): For passes starting with diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 958e0cfe561..340fb9b4a21 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -306,12 +306,16 @@ extern int ix86_arch; #ifdef __STDC__ #if TARGET_CPU_DEFAULT == 1 #define CPP_CPU_DEFAULT "-Di486" -#elif TARGET_CPU_DEFAULT == 2 +#else +#if TARGET_CPU_DEFAULT == 2 #define CPP_CPU_DEFAULT "-Di586" -#elif TARGET_CPU_DEFAULT == 3 +#else +#if TARGET_CPU_DEFAULT == 3 #define CPP_CPU_DEFAULT "-Di686" #else #define CPP_CPU_DEFAULT "" +#endif +#endif #endif /* TARGET_CPU_DEFAULT */ #define CPP_CPU_SPEC "\