aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-12-12 11:26:14 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2024-12-12 11:26:14 +0100
commitbb7f98d2695af789cffdad5a19f04c2b48d7f240 (patch)
treef84bc7a9add444ec82cbb4edcd84c3d4176314f1
parent8da9d141dbf0a988f98d36b4e396ace8ae0b8293 (diff)
downloadgcc-bb7f98d2695af789cffdad5a19f04c2b48d7f240.zip
gcc-bb7f98d2695af789cffdad5a19f04c2b48d7f240.tar.gz
gcc-bb7f98d2695af789cffdad5a19f04c2b48d7f240.tar.bz2
crc: Comment spelling fix
"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.
-rw-r--r--gcc/gimple-crc-optimization.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gimple-crc-optimization.cc b/gcc/gimple-crc-optimization.cc
index 59fe5f6..27c0dfb 100644
--- a/gcc/gimple-crc-optimization.cc
+++ b/gcc/gimple-crc-optimization.cc
@@ -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)