Add missing target options (PR middle-end/90258).
authorMartin Liska <mliska@suse.cz>
Sat, 27 Apr 2019 06:33:29 +0000 (08:33 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Sat, 27 Apr 2019 06:33:29 +0000 (06:33 +0000)
commit23ab63504249add3ac588fe44a4214d36812eeeb
tree868a9a9f30bb1858698b55c4ee65c22f65f65b74
parent5117550700dc9b81a0073e8e802be9992a7a59e9
Add missing target options (PR middle-end/90258).

2019-04-27  Martin Liska  <mliska@suse.cz>

PR middle-end/90258
* opt-suggestions.c (option_proposer::build_option_suggestions):
When get_valid_option_values returns empty values, add the
misspelling candidate.
2019-04-27  Martin Liska  <mliska@suse.cz>

PR middle-end/90258
* gcc.dg/completion-5.c: New test.
* gcc.target/i386/spellcheck-options-5.c: New test.

From-SVN: r270622
gcc/ChangeLog
gcc/opt-suggestions.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/completion-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/spellcheck-options-5.c [new file with mode: 0644]