]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
crc: Comment spelling fix
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Dec 2024 10:26:14 +0000 (11:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 12 Dec 2024 10:26:14 +0000 (11:26 +0100)
"replacement is succeeded" doesn't look correct, this patch drops the
is.

2024-12-12  Jakub Jelinek  <jakub@redhat.com>

* gimple-crc-optimization.cc (crc_optimization::optimize_crc_loop):
Comment spelling fix, is succeeded -> succeeded.

gcc/gimple-crc-optimization.cc

index 59fe5f656149aeeb1e11537c0edb36babd6eaab7..27c0dfb3ca7b8d1e4980a813f4c875246583201a 100644 (file)
@@ -227,7 +227,7 @@ class crc_optimization {
 
   /* Attempts to optimize a CRC calculation loop by replacing it with a call to
      an internal function (IFN_CRC or IFN_CRC_REV).
-     Returns true if replacement is succeeded, otherwise false.  */
+     Returns true if replacement succeeded, otherwise false.  */
   bool optimize_crc_loop (gphi *output_crc);
 
  public:
@@ -1214,7 +1214,7 @@ crc_optimization::get_output_phi ()
 
 /* Attempts to optimize a CRC calculation loop by replacing it with a call to
    an internal function (IFN_CRC or IFN_CRC_REV).
-   Returns true if replacement is succeeded, otherwise false.  */
+   Returns true if replacement succeeded, otherwise false.  */
 
 bool
 crc_optimization::optimize_crc_loop (gphi *output_crc)