Hi!

"replacement is succeeded" doesn't look correct to me (though, sure, I'm
not native English speaker), this patch drops the is.

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

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

--- gcc/gimple-crc-optimization.cc.jj   2024-12-02 11:08:52.070134518 +0100
+++ gcc/gimple-crc-optimization.cc      2024-12-11 17:50:32.562023899 +0100
@@ -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)

        Jakub

Reply via email to