https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88911

            Bug ID: 88911
           Summary: No "did you mean" for incorrect -dumpspecs option
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: enhancement
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

tmp$ g++ q.cc -dump-spec
cc1plus: warning: unrecognized gcc debugging option: u
cc1plus: warning: unrecognized gcc debugging option: m
cc1plus: warning: unrecognized gcc debugging option: -
cc1plus: warning: unrecognized gcc debugging option: s
cc1plus: warning: unrecognized gcc debugging option: e
cc1plus: warning: unrecognized gcc debugging option: c
tmp$ g++ q.cc -dump-specs
cc1plus: warning: unrecognized gcc debugging option: u
cc1plus: warning: unrecognized gcc debugging option: m
cc1plus: warning: unrecognized gcc debugging option: -
cc1plus: warning: unrecognized gcc debugging option: s
cc1plus: warning: unrecognized gcc debugging option: e
cc1plus: warning: unrecognized gcc debugging option: c
cc1plus: warning: unrecognized gcc debugging option: s
tmp$ g++ q.cc -fdump-spec
cc1plus: error: unrecognized command line option '-fdump-spec'
tmp$ g++ q.cc -fdump-specs
cc1plus: error: unrecognized command line option '-fdump-specs'
tmp$ g++14 q.cc -fdumpspecs
g++: error: unrecognized command line option '-fdumpspecs'; did you mean
'-dumpspecs'?

Aha!

Reply via email to