diff options
author | David S. Miller <davem@davemloft.net> | 2011-10-24 04:15:46 +0000 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2011-10-23 21:15:46 -0700 |
commit | d377a5fbf156ab7e6da3cda3ef39108616e28c02 (patch) | |
tree | 4c3b1194783e516c7331333dc2fdda1325cfe3e4 /gcc/config/sparc/sparc.c | |
parent | b7190f2fc6ea307d8238910edb47007cd48cd486 (diff) | |
download | gcc-d377a5fbf156ab7e6da3cda3ef39108616e28c02.zip gcc-d377a5fbf156ab7e6da3cda3ef39108616e28c02.tar.gz gcc-d377a5fbf156ab7e6da3cda3ef39108616e28c02.tar.bz2 |
Fix sol2 sparc -mv8 regression.
* config/sparc/sparc.c (sparc_option_override): Remove -mv8plus
cpu adjustment.
* config/sparc/linux64.h (CC1_SPEC): When defaulting to 64-bit,
append -mcpu=v9 when -mv8plus is given.
From-SVN: r180362
Diffstat (limited to 'gcc/config/sparc/sparc.c')
-rw-r--r-- | gcc/config/sparc/sparc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 79bb821..29d2922 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -1029,10 +1029,6 @@ sparc_option_override (void) sparc_cpu_and_features = def->processor; } - if ((target_flags & MASK_V8PLUS) - && sparc_cpu_and_features < PROCESSOR_V9) - sparc_cpu_and_features = PROCESSOR_V9; - if (!global_options_set.x_sparc_cpu) sparc_cpu = sparc_cpu_and_features; |