From: Robert Dubner Date: Fri, 6 Feb 2026 18:55:39 +0000 (-0500) Subject: cobol: Process -dumpspecs, -dumpversion, -dumpmachine. [PR119332] X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf34364e50c62df1458481539a885036c9a6cc0a;p=thirdparty%2Fgcc.git cobol: Process -dumpspecs, -dumpversion, -dumpmachine. [PR119332] Process the -dumpspecs, -dumpversion, and -dumpmachine options without complaining about a lack of input files. gcc/cobol/ChangeLog: PR cobol/119332 * gcobolspec.cc (lang_specific_driver): Add -dumpspecs, -dumpversion, -dumpmachine to the no_files_error=false cases. --- diff --git a/gcc/cobol/gcobolspec.cc b/gcc/cobol/gcobolspec.cc index 500d55dc6b1..899bf0cb0d7 100644 --- a/gcc/cobol/gcobolspec.cc +++ b/gcc/cobol/gcobolspec.cc @@ -301,6 +301,9 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options, case OPT_print_multi_os_directory: case OPT_print_multiarch: case OPT_print_sysroot_headers_suffix: + case OPT_dumpmachine: + case OPT_dumpversion: + case OPT_dumpspecs: no_files_error = false; break;