[Bug driver/108328] gcc --help -v doesn't work correctly in some circumstances in gcc>=10
sagimor6 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Jan 7 12:09:17 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108328
--- Comment #3 from Sagi Mor <sagimor6 at gmail dot com> ---
I agree that the python check is broken, but I do think that the current
behavior is incorrect. it doesn't make sense that for N input file, the help
will be displayed N times. and that linker options suppress the help message.
The comment in the code above the if statement ("Ensure we only invoke each
subprocess once.") shows this was the intention, and the commit I talked about
broke it without noticing.
The fact that this worked till gcc 9.x.x, and stopped working from gcc 10.x.x,
also says that this is not the intended behavior, in my opinion.
More information about the Gcc-bugs
mailing list