Bug 22320 - -ftree-dominator-opts documentation is the same as -ftree-dce
Summary: -ftree-dominator-opts documentation is the same as -ftree-dce
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.0.0
: P3 minor
Target Milestone: 4.0.2
Assignee: Not yet assigned to anyone
URL:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2005-07-06 03:57 UTC by Flash Sheridan
Modified: 2005-08-19 18:21 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-07-06 04:12:40


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Flash Sheridan 2005-07-06 03:57:50 UTC
The GCC 4.0.0 documentation, page 71 in the PostScript version, 
<http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Optimize-Options.html#Optimize-Options>
in the HTML version, says the following:

-ftree-dce
Perform dead code elimination (DCE) on trees. This flag is enabled by default at -O and higher. 
-ftree-dominator-opts
Perform dead code elimination (DCE) on trees. This flag is enabled by default at -O and higher. 

Dominator options seem to be different from dead code, so presumably these are different.  
Alternatively, if they have the same behavior under different names, that should be noted explicitly, as 
it is elsewhere for such options.
Comment 1 Andrew Pinski 2005-07-06 04:12:39 UTC
Confirmed, still wrong on the mainline.
Comment 2 Diego Novillo 2005-08-19 18:20:34 UTC
Fixed.  http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01168.html.