diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-09-04 20:50:19 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-09-04 14:50:19 -0600 |
commit | da594c944883e41624c063d8f591c22feb4e078c (patch) | |
tree | 2a19fd7e513aa8bda7423c4cb67e183e159bd47a /gcc | |
parent | 3e28fe4442551e4d0014159ecbdb95521e278956 (diff) | |
download | gcc-da594c944883e41624c063d8f591c22feb4e078c.zip gcc-da594c944883e41624c063d8f591c22feb4e078c.tar.gz gcc-da594c944883e41624c063d8f591c22feb4e078c.tar.bz2 |
* i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
From-SVN: r15083
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 "\ |