From: Chung-Lin Tang Date: Mon, 14 Sep 2015 13:25:36 +0000 (+0000) Subject: lto-wrapper.c (merge_and_complain): Add OPT_fdiagnostics_show_caret... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb472171caecd57bed9d996a31d354f568e581ad;p=gcc.git lto-wrapper.c (merge_and_complain): Add OPT_fdiagnostics_show_caret... 2015-09-14 Chung-Lin Tang * lto-wrapper.c (merge_and_complain): Add OPT_fdiagnostics_show_caret, OPT_fdiagnostics_show_option, OPT_fdiagnostics_show_location_, and OPT_fshow_column to handled saved option cases. (append_compiler_options): Do not skip the above added options. From-SVN: r227749 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5484f2bf1cc..db2ba99a010 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-09-14 Chung-Lin Tang + + * lto-wrapper.c (merge_and_complain): Add OPT_fdiagnostics_show_caret, + OPT_fdiagnostics_show_option, OPT_fdiagnostics_show_location_, and + OPT_fshow_column to handled saved option cases. + (append_compiler_options): Do not skip the above added options. + 2015-09-14 Ramana Radhakrishnan PR target/63304 diff --git a/gcc/lto-wrapper.c b/gcc/lto-wrapper.c index d59bd8c6635..150d36845d6 100644 --- a/gcc/lto-wrapper.c +++ b/gcc/lto-wrapper.c @@ -232,6 +232,10 @@ merge_and_complain (struct cl_decoded_option **decoded_options, break; /* Fallthru. */ + case OPT_fdiagnostics_show_caret: + case OPT_fdiagnostics_show_option: + case OPT_fdiagnostics_show_location_: + case OPT_fshow_column: case OPT_fPIC: case OPT_fpic: case OPT_fPIE: @@ -479,6 +483,10 @@ append_compiler_options (obstack *argv_obstack, struct cl_decoded_option *opts, on any CL_TARGET flag and a few selected others. */ switch (option->opt_index) { + case OPT_fdiagnostics_show_caret: + case OPT_fdiagnostics_show_option: + case OPT_fdiagnostics_show_location_: + case OPT_fshow_column: case OPT_fPIC: case OPT_fpic: case OPT_fPIE: