]> gcc.gnu.org Git - gcc.git/commitdiff
(sparc_override_options): Error if -mcpu=v9 and v9 support not compiled in.
authorDoug Evans <dje@gnu.org>
Tue, 20 Feb 1996 05:37:36 +0000 (05:37 +0000)
committerDoug Evans <dje@gnu.org>
Tue, 20 Feb 1996 05:37:36 +0000 (05:37 +0000)
From-SVN: r11326

gcc/config/sparc/sparc.c

index 9c927589fc94e8580ab9821487b55ca5068dde0e..46927dd653de4a59fc3ae1ee4a882a5dde048069 100644 (file)
@@ -188,6 +188,10 @@ sparc_override_options ()
   if (! p->name)
     error ("bad value (%s) for -mcpu= switch", sparc_cpu_string);
 
+  if ((sparc_cpu == CPU_V9 || sparc_cpu == CPU_ULTRASPARC)
+      && ! SPARC_V9)
+    error ("sparc64 is not supported by this configuration");
+
   if ((sparc_cpu == CPU_V9 || sparc_cpu == CPU_ULTRASPARC)
       && TARGET_ARCH32)
     target_flags |= MASK_DEPRECATED_V8_INSNS;
This page took 0.084556 seconds and 5 git commands to generate.