diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2011-01-03 23:15:03 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2011-01-03 23:15:03 +0000 |
commit | 9c1732c469c95e277c3ee41dca4cf5bfec9c5652 (patch) | |
tree | eb250fcdc4fe09ea883aaa4b4e9decea5c38b214 | |
parent | aa474365da82462b86cfd0b9de56f254f1af3055 (diff) | |
download | gcc-9c1732c469c95e277c3ee41dca4cf5bfec9c5652.zip gcc-9c1732c469c95e277c3ee41dca4cf5bfec9c5652.tar.gz gcc-9c1732c469c95e277c3ee41dca4cf5bfec9c5652.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/spu/spu.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 261affd..cda3b57 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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 if branch-hint optimization will be performed. diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index db17570..915de55 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -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. */ |