lto-wrapper.c (merge_and_complain): Add OPT_fdiagnostics_show_caret...
authorChung-Lin Tang <cltang@codesourcery.com>
Mon, 14 Sep 2015 13:25:36 +0000 (13:25 +0000)
committerChung-Lin Tang <cltang@gcc.gnu.org>
Mon, 14 Sep 2015 13:25:36 +0000 (13:25 +0000)
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

gcc/ChangeLog
gcc/lto-wrapper.c

index 5484f2bf1cc123c089b15a0afbe6766ea6bcb9dc..db2ba99a010e20efa68d006b797de27ac8e36d30 100644 (file)
@@ -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
index d59bd8c6635c852971d21de9976b197e42970014..150d36845d69f558bbc68a159cde82ac56505421 100644 (file)
@@ -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: