On unrelated note, looking what we print with --verbose -v The following options are specific to just the language LTO: -flinker-output= Set linker output type (used internally during LTO optimization). -fltrans Run the link-time optimizer in local transformation (LTRANS) mode. -fltrans-output-list= Specify a file to which a list of files output by LTRANS is written. -fresolution= The resolution file. -fwpa Run the link-time optimizer in whole program analysis (WPA) mode. -fwpa= Whole program analysis (WPA) mode with number of parallel jobs specified.
"language LTO" is bit funny. Also those are internal options that probably shouldnot be printed with help except for -flinker-output which is user visible but only one documented as internal. The following options are specific to link-time optimization -flinker-output= Set linker output type I guess would be expected output :) I find it funny that we print Undocumented as "this option lacks documentation". I would probably not print them or print them with saying that the option is for internal use only and intentionally undocumented or so. Honza