This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r240162 - in /trunk/gcc: ChangeLog config/i386/...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 15 Sep 2016 12:26:40 -0000
- Subject: r240162 - in /trunk/gcc: ChangeLog config/i386/...
Author: jakub
Date: Thu Sep 15 12:26:39 2016
New Revision: 240162
URL: https://gcc.gnu.org/viewcvs?rev=240162&root=gcc&view=rev
Log:
PR middle-end/77475
* config/i386/i386.c (ix86_parse_stringop_strategy_string): Simplify,
use %qs instead of %s where desirable, use argument instead of arg in
the diagnostic wording, add list of supported strategies and
spellcheck hint.
(ix86_option_override_internal): Emit target("m...") instead of
option("m...") in the diagnostic. Use %qs instead of %s in invalid
-march/-mtune option diagnostic. Add list of supported arches/tunings
and spellcheck hint. Remove prefix, suffix and sw variables, use
main_args_p ? "..." : "..." in diagnostics to make translation
possible.
* gcc.target/i386/pr65990.c: Adjust expected diagnostics.
* gcc.dg/march-generic.c: Likewise.
* gcc.target/i386/spellcheck-options-1.c: New test.
* gcc.target/i386/spellcheck-options-2.c: New test.
* gcc.target/i386/spellcheck-options-3.c: New test.
* gcc.target/i386/spellcheck-options-4.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/spellcheck-options-1.c
trunk/gcc/testsuite/gcc.target/i386/spellcheck-options-2.c
trunk/gcc/testsuite/gcc.target/i386/spellcheck-options-3.c
trunk/gcc/testsuite/gcc.target/i386/spellcheck-options-4.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/march-generic.c
trunk/gcc/testsuite/gcc.target/i386/pr65990.c