Commit 0e8623e9 by Tom de Vries Committed by Tom de Vries

Fix example in header comment in tree-call-cdce.c

2015-04-28  Tom de Vries  <tom@codesourcery.com>

	* tree-call-cdce.c: Fix example in header comment.

From-SVN: r222516
parent 4e81b788
2015-04-28 Tom de Vries <tom@codesourcery.com>
* tree-call-cdce.c: Fix example in header comment.
2015-04-28 Richard Biener <rguenther@suse.de> 2015-04-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/62283 PR tree-optimization/62283
......
...@@ -76,7 +76,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -76,7 +76,7 @@ along with GCC; see the file COPYING3. If not see
An actual simple example is : An actual simple example is :
log (x); // Mostly dead call log (x); // Mostly dead call
==> ==>
if (x < 0) if (x <= 0)
log (x); log (x);
With this change, call to log (x) is effectively eliminated, as With this change, call to log (x) is effectively eliminated, as
in majority of the cases, log won't be called with x out of in majority of the cases, log won't be called with x out of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment