https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120830
--- Comment #2 from Sam James <sjames at gcc dot gnu.org> --- Breakpoint 1.899, as_a<pp_token_text*, pp_token> (p=<optimized out>, p=<optimized out>) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/is-a.h:255 255 gcc_checking_assert (is_a <T> (p)); (gdb) bt #0 as_a<pp_token_text*, pp_token> (p=<optimized out>, p=<optimized out>) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/is-a.h:255 #1 format_phase_2 (pp=0x555559599890, text=..., chunk_obstack=..., formatters=0x7fffffffcef0) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/pretty-print.cc:1935 #2 pretty_printer::format (this=0x555559599890, text=...) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/pretty-print.cc:1710 #3 0x0000555557498027 in pp_format (pp=<optimized out>, text=0x7fffffffd0b0) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/pretty-print.h:599 #4 diagnostic_context::report_diagnostic (this=this@entry=0x5555594e0de0 <_ZL25global_diagnostic_context.lto_priv.0>, diagnostic=diagnostic@entry=0x7fffffffd0b0) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/diagnostic.cc:1566 #5 0x000055555812a94f in diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t) [clone .constprop.0] (this=0x5555594e0de0 <_ZL25global_diagnostic_context.lto_priv.0>, richloc=richloc@entry=0x7fffffffd1d0, metadata=0x0, option_id=option_id@entry=..., gmsgid=gmsgid@entry=0x555558ae7bd0 "unrecognized command-line option %qs", ap=ap@entry=0x7fffffffd1b8, kind=DK_ERROR, metadata=0x0) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/diagnostic.cc:1702 #6 0x00005555557081c2 in error_at (loc=<optimized out>, gmsgid=0x555558ae7bd0 "unrecognized command-line option %qs") at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/diagnostic-core.h:75 #7 0x000055555813ed29 in read_cmdline_options (opts=opts@entry=0x5555594ee540 <global_options>, opts_set=opts_set@entry=0x5555594ecb80 <global_options_set>, decoded_options=decoded_options@entry=0x555559599f40, decoded_options_count=decoded_options_count@entry=13, loc=loc@entry=0, lang_mask=lang_mask@entry=16, handlers=0x7fffffffd420, dc=0x5555594e0de0 <_ZL25global_diagnostic_context.lto_priv.0>) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/opts-global.cc:242 #8 0x000055555813e59c in decode_options(gcc_options*, gcc_options*, cl_decoded_option*, unsigned int, unsigned long, diagnostic_context*, void (*)()) [clone .constprop.0] ( decoded_options=0x555559599f40, decoded_options_count=13, loc=loc@entry=0, dc=0x5555594e0de0 <_ZL25global_diagnostic_context.lto_priv.0>, target_option_override_hook=0x55555813fc60 <ix86_option_override()>, opts_set=<optimized out>, opts=<optimized out>) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/opts-global.cc:330 #9 0x000055555812d57e in toplev::main (this=this@entry=0x7fffffffd5a6, argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/toplev.cc:2335 #10 0x000055555812d02d in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/main.cc:39