public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/105564] New: Bad error for -ftrivial-auto-var-init without a choice argument
@ 2022-05-11 11:41 redi at gcc dot gnu.org
  2022-05-11 12:21 ` [Bug driver/105564] " marxin at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2022-05-11 11:41 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-06-16  8:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11 11:41 [Bug driver/105564] New: Bad error for -ftrivial-auto-var-init without a choice argument redi at gcc dot gnu.org
2022-05-11 12:21 ` [Bug driver/105564] " marxin at gcc dot gnu.org
2022-05-11 12:25 ` jakub at gcc dot gnu.org
2022-05-11 13:51 ` marxin at gcc dot gnu.org
2022-06-16  6:23 ` cvs-commit at gcc dot gnu.org
2022-06-16  6:24 ` marxin at gcc dot gnu.org
2022-06-16  8:30 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).