[Bug driver/69361] Nonsensical suggestion for misspelled command-line option "-help"
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 19 21:36:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69361
--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(gdb) p switches[1]
$6 = {part1 = 0x53419d "h", args = 0x7dde70, live_cond = 0, known = true,
validated = false, ordering = false}
So "-h" is "known", but not "validated", but
driver::handle_unrecognized_options uses "validated".
More information about the Gcc-bugs
mailing list