On Mon, 9 Dec 2024, Marek Polacek wrote: > Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? > > -- >8 -- > We are crashing here because decode_cmdline_options_to_array has: > > if (!strcmp (opt, "-fdiagnostics-plain-output")) > ... > > but that doesn't handle the '--FLAG' variant. > > gcc/ChangeLog: > > * opts-common.cc (decode_cmdline_options_to_array): Also detect > --diagnostics-plain-output.
OK. -- Joseph S. Myers josmy...@redhat.com