[Bug other/85614] New: Documentation: -fdump-tree should mention "original"
krblock at computer dot org
gcc-bugzilla@gcc.gnu.org
Wed May 2 16:59:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85614
Bug ID: 85614
Summary: Documentation: -fdump-tree should mention "original"
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: krblock at computer dot org
Target Milestone: ---
In the -fdump-tree option a "switch" is specified to select when you want the
dump. To determine the "switch", it suggests "-fdump-passes" be used. However,
this does not list "original" which is also a possible choice. This should be
explicitly listed in the documentation. Not sure if there are other not listed
"switches". Also the term "switch" is odd. "pass" might be a more intuitive
name.
https://gcc.gnu.org/onlinedocs/gcc/Developer-Options.html
-fdump-tree-all
-fdump-tree-switch
-fdump-tree-switch-options
-fdump-tree-switch-options=filename
...
1. Invoke GCC with -fdump-passes and in the stderr output look for a code that
corresponds to the pass you are interested in. For example, the codes
tree-evrp, tree-vrp1, and tree-vrp2 correspond to the three Value Range
Propagation passes. The number at the end distinguishes distinct invocations of
the same pass.
More information about the Gcc-bugs
mailing list