https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89712
Bug ID: 89712
Summary: Documentation for GCC => 8.0 contains unsupported
options
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: 7aitsev at pm dot me
Target Milestone: ---
Since GCC version 8.0 at least these two options were replaced:
-fdump-class-hierarchy ---> -fdump-lang-class
-fdump-translation-unit ---> -fdump-lang-raw
When I tried to use -fdump-class-hierarchy on GCC 8.2.1 and 8.3, I got the
following error:
$ g++ -fdump-class-hierarchy source.cpp
cc1plus: error: unrecognized command line option ‘-fdump-class-hierarchy’
In the docs for 8.3 both class-hierarchy and translation-unit are still there.
There is no way to figure out from documentation which options are replacements
for these options.