Commit 97da85b7 by Doug Evans

(sparc_override_options): Error if -mcpu=v9 and v9 support not compiled in.

From-SVN: r11326
parent 3ab295ac
......@@ -189,6 +189,10 @@ sparc_override_options ()
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment