Makefile.in: Add opt-suggestions.o.
authorMartin Liska <mliska@suse.cz>
Thu, 28 Jun 2018 07:08:01 +0000 (09:08 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 28 Jun 2018 07:08:01 +0000 (07:08 +0000)
commit98086b2ba2bd021e887788cea410410e61eaee42
tree75a8f11816cec8e2dfb5a56b30a3e687f5b27828
parent3de37a5d22c6f7add3457929d3572d2de678d6c2
Makefile.in: Add opt-suggestions.o.

.
2018-06-28  Martin Liska  <mliska@suse.cz>

* Makefile.in: Add opt-suggestions.o.
* gcc-main.c: Include opt-suggestions.h.
* gcc.c (driver::driver): Likewise.
(driver::~driver): Remove m_option_suggestions.
(driver::build_option_suggestions): Moved to option_proposer.
(driver::suggest_option): Likewise.
(driver::handle_unrecognized_options): Use option_proposer.
* gcc.h (class driver): Add new memver m_option_proposer.
* opt-suggestions.c: New file.
* opt-suggestions.h: New file.
2018-06-28  Martin Liska  <mliska@suse.cz>

* cppspec.c: Include opt-suggestions.h.
2018-06-28  Martin Liska  <mliska@suse.cz>

* gfortranspec.c: Include opt-suggestions.h.
2018-06-28  Martin Liska  <mliska@suse.cz>

* jit-playback.c: Include opt-suggestions.h.

From-SVN: r262209
13 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/c-family/ChangeLog
gcc/c-family/cppspec.c
gcc/fortran/ChangeLog
gcc/fortran/gfortranspec.c
gcc/gcc-main.c
gcc/gcc.c
gcc/gcc.h
gcc/jit/ChangeLog
gcc/jit/jit-playback.c
gcc/opt-suggestions.c [new file with mode: 0644]
gcc/opt-suggestions.h [new file with mode: 0644]