re PR middle-end/77475 (unnecessary or misleading context in reporting command line...
authorJakub Jelinek <jakub@redhat.com>
Tue, 13 Sep 2016 08:45:36 +0000 (10:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 13 Sep 2016 08:45:36 +0000 (10:45 +0200)
commit14bce2578e2916b66d7ae7a42a83c510d8d7f804
treedef6aaa9d1bd83c15209ac04451e50f69e4e3f6c
parente262faf259794cee5f147203570dfee56defe0d5
re PR middle-end/77475 (unnecessary or misleading context in reporting command line problems)

PR middle-end/77475
* opts.h (candidates_list_and_hint): Declare.
* opts-common.c (candidates_list_and_hint): New function.
(cmdline_handle_error): Use it.

Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
From-SVN: r240107
gcc/ChangeLog
gcc/opts-common.c
gcc/opts.h