]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/lto-wrapper.c
diagnostics: add labeling of source ranges
[thirdparty/gcc.git] / gcc / lto-wrapper.c
index 39d9f088bc6d3a06e5a543eae41ee355f2ef3869..d44678694c3d630c51a50244004d9f96400813d3 100644 (file)
@@ -255,6 +255,7 @@ merge_and_complain (struct cl_decoded_option **decoded_options,
 
          /* Fallthru.  */
        case OPT_fdiagnostics_show_caret:
+       case OPT_fdiagnostics_show_labels:
        case OPT_fdiagnostics_show_line_numbers:
        case OPT_fdiagnostics_show_option:
        case OPT_fdiagnostics_show_location_:
@@ -537,6 +538,7 @@ append_compiler_options (obstack *argv_obstack, struct cl_decoded_option *opts,
       switch (option->opt_index)
        {
        case OPT_fdiagnostics_show_caret:
+       case OPT_fdiagnostics_show_labels:
        case OPT_fdiagnostics_show_line_numbers:
        case OPT_fdiagnostics_show_option:
        case OPT_fdiagnostics_show_location_:
@@ -584,6 +586,7 @@ append_diag_options (obstack *argv_obstack, struct cl_decoded_option *opts,
        {
        case OPT_fdiagnostics_color_:
        case OPT_fdiagnostics_show_caret:
+       case OPT_fdiagnostics_show_labels:
        case OPT_fdiagnostics_show_line_numbers:
        case OPT_fdiagnostics_show_option:
        case OPT_fdiagnostics_show_location_: