(override_options): Set default for alpha_cpu from TARGET_CPU_DEFAULT.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 21 Jul 1997 01:07:50 +0000 (21:07 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 21 Jul 1997 01:07:50 +0000 (21:07 -0400)
From-SVN: r14508

gcc/config/alpha/alpha.c

index 25943ff6d3476a70d35603adc5da77df48e81f29..c918b5b47ed1e920d1f6c5ff808769732ec4780d 100644 (file)
@@ -105,7 +105,8 @@ static void alpha_sa_mask   PROTO((unsigned long *imaskP,
 void
 override_options ()
 {
-  alpha_cpu = PROCESSOR_EV4;
+  alpha_cpu
+    = TARGET_CPU_DEFAULT & MASK_CPU_EV5 ? PROCESSOR_EV5 : PROCESSOR_EV4;
 
   if (alpha_cpu_string)
     {