aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2015-09-14 13:25:36 +0000
committerChung-Lin Tang <cltang@gcc.gnu.org>2015-09-14 13:25:36 +0000
commiteb472171caecd57bed9d996a31d354f568e581ad (patch)
tree9ab0e07d80f4e9f4686dd6e8e992749f90351c51
parentb4f50fd4c09a6bb80947e7ea4ee46c976ad44d96 (diff)
downloadgcc-eb472171caecd57bed9d996a31d354f568e581ad.zip
gcc-eb472171caecd57bed9d996a31d354f568e581ad.tar.gz
gcc-eb472171caecd57bed9d996a31d354f568e581ad.tar.bz2
lto-wrapper.c (merge_and_complain): Add OPT_fdiagnostics_show_caret...
2015-09-14 Chung-Lin Tang <cltang@codesourcery.com> * 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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/lto-wrapper.c8
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5484f2b..db2ba99 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2015-09-14 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * 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 <ramana.radhakrishnan@arm.com>
PR target/63304
diff --git a/gcc/lto-wrapper.c b/gcc/lto-wrapper.c
index d59bd8c..150d3684 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: