drop -dumpbase-ext from producer string
authorAlexandre Oliva <oliva@adacore.com>
Fri, 15 Jan 2021 19:22:54 +0000 (16:22 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 15 Jan 2021 19:22:54 +0000 (16:22 -0300)
The -dumpbase and -dumpdir options are excluded from the producer
string output in debug information, but -dumpbase-ext was not.  This
patch excludes it as well.

for  gcc/ChangeLog

* opts.c (gen_command_line_string): Exclude -dumpbase-ext.

gcc/opts.c

index 389797d29bdc652366b06ff014c0f054acd6dea0..1f1cf8388f706cfa758a000586ffb18b00ac30ff 100644 (file)
@@ -3286,6 +3286,7 @@ gen_command_line_string (cl_decoded_option *options,
       case OPT_o:
       case OPT_d:
       case OPT_dumpbase:
+      case OPT_dumpbase_ext:
       case OPT_dumpdir:
       case OPT_quiet:
       case OPT_version: