re PR target/50354 (architecture mismatch between compiler and assembler)
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 14 Oct 2011 23:02:40 +0000 (23:02 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 14 Oct 2011 23:02:40 +0000 (23:02 +0000)
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.

From-SVN: r180013

gcc/ChangeLog
gcc/config/sparc/linux64.h

index 7a16ed7f80f482e9dc8819b6503ce49e9762e906..b463a0863bb1e154b388ad78b0dbb027297183c5 100644 (file)
@@ -1,3 +1,9 @@
+2011-10-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       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  <gerald@pfeifer.com>
 
        * invoke.texi (AVR Options): Avoid \leq{}.
        * lto-streamer-out.c (lto_output_location): Use
        streamer_hooks.output_location, if set.
 
+2011-10-13  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * 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  <rguenther@suse.de>
 
        PR tree-optimization/50712
index 3c83d2d0a6e66f3d5fc324d72341b0dbfba54b8e..b87116a6c9743b71238453aea1919548129541fc 100644 (file)
@@ -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 + \