From 5bee6fd988cc670d437114b37911a779c5a998d6 Mon Sep 17 00:00:00 2001 From: ebotcazou Date: Fri, 14 Oct 2011 23:02:40 +0000 Subject: [PATCH] PR target/50354 * config/sparc/linux64.h (TARGET_DEFAULT): Only override if the default processor is at least V9 and TARGET_64BIT_DEFAULT is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180013 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 13 +++++++++++++ gcc/config/sparc/linux64.h | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a16ed7..b463a08 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-10-14 Eric Botcazou + + PR target/50354 + * config/sparc/linux64.h (TARGET_DEFAULT): Only override if the default + processor is at least V9 and TARGET_64BIT_DEFAULT is defined. + 2011-10-14 Gerald Pfeifer * invoke.texi (AVR Options): Avoid \leq{}. @@ -252,6 +258,13 @@ * lto-streamer-out.c (lto_output_location): Use streamer_hooks.output_location, if set. +2011-10-13 Eric Botcazou + + * doc/invoke.texi (SPARC options): Document -mfix-at697f. + * config/sparc/sparc.opt (mfix-at697f): New option. + * config/sparc/sparc.c (TARGET_MACHINE_DEPENDENT_REORG): Define. + (sparc_reorg): New function. + 2011-10-13 Richard Guenther PR tree-optimization/50712 diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 3c83d2d..b87116a 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -31,7 +31,9 @@ along with GCC; see the file COPYING3. If not see } \ while (0) -#ifdef TARGET_64BIT_DEFAULT +/* On Linux, the combination sparc64-* --with-cpu=v8 is supported and + selects a 32-bit compiler. */ +#if defined(TARGET_64BIT_DEFAULT) && TARGET_CPU_DEFAULT >= TARGET_CPU_v9 #undef TARGET_DEFAULT #define TARGET_DEFAULT \ (MASK_V9 + MASK_PTR64 + MASK_64BIT + MASK_STACK_BIAS + \ -- 2.7.4