Fix example in header comment in tree-call-cdce.c
authorTom de Vries <tom@codesourcery.com>
Tue, 28 Apr 2015 08:46:37 +0000 (08:46 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Tue, 28 Apr 2015 08:46:37 +0000 (08:46 +0000)
2015-04-28  Tom de Vries  <tom@codesourcery.com>

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

From-SVN: r222516

gcc/ChangeLog
gcc/tree-call-cdce.c

index 8efe3d87e442717605a8bc5b41ad097034f7f844..d3f2a147607b576a63e33dc8bbe186722ddbabf1 100644 (file)
@@ -1,3 +1,7 @@
+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>
 
        PR tree-optimization/62283
index f0b3ce77c87ec44f5214636fc526037198375e32..5a6a4cfccf6ea5f94e05800a3cfe2dddea03244f 100644 (file)
@@ -76,7 +76,7 @@ along with GCC; see the file COPYING3.  If not see
     An actual simple example is :
          log (x);   // Mostly dead call
      ==>
-         if (x < 0)
+         if (x <= 0)
              log (x);
      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