[Bug driver/116050] Passing invalid option to gcc with --version results in exit status of 0
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 23 17:27:20 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116050
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-07-23
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
if (!maybe_print_and_exit ())
return 0;
Maybe that should be changed to get_exit_code() instead of 0.
More information about the Gcc-bugs
mailing list