diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b1bee7c..e560fc6 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 <meissner@cygnus.com> * toplev.c (rest_of_compilation): For passes starting with diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 958e0cf..340fb9b 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 "\ |