https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105564
Bug ID: 105564
Summary: Bad error for -ftrivial-auto-var-init without a choice
argument
Product: gcc
Version: 12.1.1
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: driver
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Target Milestone: ---
If you try to use the -ftrivial-auto-var-init option without an argument you
get a really unhelpful error:
g++: error: unrecognized command-line option '-ftrivial-auto-var-init'; did you
mean '-Wtrivial-auto-var-init'?
It should tell you the use one of the zero/pattern/uninitialized arguments.