[Bug driver/100586] New: g++: error: unrecognized command-line option ‘-fump-tree-original’; did you mean ‘-fdump-d-original’?

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 13 12:48:54 GMT 2021


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

            Bug ID: 100586
           Summary: g++: error: unrecognized command-line option
                    ‘-fump-tree-original’; did you mean
                    ‘-fdump-d-original’?
           Product: gcc
           Version: 11.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 add the option -fump-tree-original (N.B. missing the 'd') then the
fix-it is nonsense:

g++: error: unrecognized command-line option ‘-fump-tree-original’; did you
mean ‘-fdump-d-original’?

It seems to have inserted the 'd' at the right place but then also replaced
'tree' with 'd'.


More information about the Gcc-bugs mailing list