aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2011-11-04 17:37:03 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2011-11-04 17:37:03 +0000
commita5c037e263621253d04132f3a7a42f0b1683e004 (patch)
tree8c63632067537e8b80cb087aafe9f6e399179ba5 /gcc
parentec3ebf4556b47fae3d51c12e0d8f115302d8ef15 (diff)
downloadgcc-a5c037e263621253d04132f3a7a42f0b1683e004.zip
gcc-a5c037e263621253d04132f3a7a42f0b1683e004.tar.gz
gcc-a5c037e263621253d04132f3a7a42f0b1683e004.tar.bz2
re PR target/50979 (architecture mismatch: "mul32" not enabled for "smul" or "umul")
PR target/50979 * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=v8. From-SVN: r180966
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sparc.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2c2c154..35ad340 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-04 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR target/50979
+ * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=v8.
+
2011-11-04 Jiangning Liu <jiangning.liu@arm.com>
PR rtl-optimization/38644
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 65b4527..e8707f5 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -328,6 +328,7 @@ extern enum cmodel sparc_cmodel;
%{mcpu=sparclite:-Asparclite} \
%{mcpu=sparclite86x:-Asparclite} \
%{mcpu=f930:-Asparclite} %{mcpu=f934:-Asparclite} \
+%{mcpu=v8:-Av8} \
%{mv8plus:-Av8plus} \
%{mcpu=v9:-Av9} \
%{mcpu=ultrasparc:%{!mv8plus:-Av9a}} \