spu.c (spu_option_override): Update error text for bad -march= / -mtune= values.
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 3 Jan 2011 23:15:03 +0000 (23:15 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Mon, 3 Jan 2011 23:15:03 +0000 (23:15 +0000)
* config/spu/spu.c (spu_option_override): Update error text
for bad -march= / -mtune= values.

From-SVN: r168445

gcc/ChangeLog
gcc/config/spu/spu.c

index 261affd6d90801b88321c0d8e614ca7dbf9cff57..cda3b5766bc68a8400bcc2aea99bbc08214fead8 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu.c (spu_option_override): Update error text
+       for bad -march= / -mtune= values.
+
 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
index db17570248a589a6b6370794f75812ed66d72767..915de556ca0c4e26a00fcc6aca3d45eb1db0dece 100644 (file)
@@ -541,7 +541,7 @@ spu_option_override (void)
       else if (strcmp (&spu_arch_string[0], "celledp") == 0)
         spu_arch = PROCESSOR_CELLEDP;
       else
-        error ("unknown architecture %qs", &spu_arch_string[0]);
+        error ("bad value (%s) for -march= switch", spu_arch_string);
     }
 
   /* Determine processor to tune for.  */
@@ -552,7 +552,7 @@ spu_option_override (void)
       else if (strcmp (&spu_tune_string[0], "celledp") == 0)
         spu_tune = PROCESSOR_CELLEDP;
       else
-        error ("unknown architecture %qs", &spu_tune_string[0]);
+        error ("bad value (%s) for -mtune= switch", spu_tune_string);
     }
 
   /* Change defaults according to the processor architecture.  */