Commit 9c1732c4 by Ulrich Weigand Committed by Ulrich Weigand

spu.c (spu_option_override): Update error text for bad -march= / -mtune= values.

	* config/spu/spu.c (spu_option_override): Update error text
	for bad -march= / -mtune= values.

From-SVN: r168445
parent aa474365
2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> 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 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
if branch-hint optimization will be performed. if branch-hint optimization will be performed.
......
...@@ -541,7 +541,7 @@ spu_option_override (void) ...@@ -541,7 +541,7 @@ spu_option_override (void)
else if (strcmp (&spu_arch_string[0], "celledp") == 0) else if (strcmp (&spu_arch_string[0], "celledp") == 0)
spu_arch = PROCESSOR_CELLEDP; spu_arch = PROCESSOR_CELLEDP;
else else
error ("unknown architecture %qs", &spu_arch_string[0]); error ("bad value (%s) for -march= switch", spu_arch_string);
} }
/* Determine processor to tune for. */ /* Determine processor to tune for. */
...@@ -552,7 +552,7 @@ spu_option_override (void) ...@@ -552,7 +552,7 @@ spu_option_override (void)
else if (strcmp (&spu_tune_string[0], "celledp") == 0) else if (strcmp (&spu_tune_string[0], "celledp") == 0)
spu_tune = PROCESSOR_CELLEDP; spu_tune = PROCESSOR_CELLEDP;
else 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. */ /* Change defaults according to the processor architecture. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment