projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab295a
)
(sparc_override_options): Error if -mcpu=v9 and v9 support not compiled in.
author
Doug Evans
<dje@gnu.org>
Tue, 20 Feb 1996 05:37:36 +0000
(
05:37
+0000)
committer
Doug Evans
<dje@gnu.org>
Tue, 20 Feb 1996 05:37:36 +0000
(
05:37
+0000)
From-SVN: r11326
gcc/config/sparc/sparc.c
patch
|
blob
|
history
diff --git
a/gcc/config/sparc/sparc.c
b/gcc/config/sparc/sparc.c
index 9c927589fc94e8580ab9821487b55ca5068dde0e..46927dd653de4a59fc3ae1ee4a882a5dde048069 100644
(file)
--- a/
gcc/config/sparc/sparc.c
+++ b/
gcc/config/sparc/sparc.c
@@
-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;