re PR target/52610 (mpfr fails to compile when specifying CFLAGS="-O3 -mcpu=leon")

PR target/52610
	* config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=leon.

From-SVN: r185766
This commit is contained in:
Eric Botcazou 2012-03-24 18:47:55 +00:00 committed by Eric Botcazou
parent 0b2d8c7bd8
commit 2a2628fe13
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-03-24 Eric Botcazou <ebotcazou@adacore.com>
PR target/52610
* config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=leon.
2012-03-24 Steven Bosscher <steven@gcc.gnu.org>
PR middle-end/52640

View File

@ -329,6 +329,7 @@ extern enum cmodel sparc_cmodel;
%{mcpu=sparclite86x:-Asparclite} \
%{mcpu=f930:-Asparclite} %{mcpu=f934:-Asparclite} \
%{mcpu=v8:-Av8} \
%{mcpu=leon:-Av8} \
%{mv8plus:-Av8plus} \
%{mcpu=v9:-Av9} \
%{mcpu=ultrasparc:%{!mv8plus:-Av9a}} \