]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ipa: fix 'writing' typo in comment
authorSam James <sam@gentoo.org>
Thu, 31 Oct 2024 02:50:27 +0000 (02:50 +0000)
committerSam James <sam@gentoo.org>
Wed, 22 Apr 2026 19:07:17 +0000 (20:07 +0100)
gcc/ChangeLog:

* ipa-prop.cc (param_type_may_change_p): Fix comment typo.

gcc/ipa-prop.cc

index dee7632eef0c9c6f6f34ba79dd94cb535ca9b0b2..cb89934ee38557d6e1a52a431d57a7ac62ced95f 100644 (file)
@@ -929,7 +929,7 @@ static bool
 param_type_may_change_p (tree function, tree arg, gimple *call)
 {
   /* Pure functions cannot do any changes on the dynamic type;
-     that require writting to memory.  */
+     that require writing to memory.  */
   if (flags_from_decl_or_type (function) & (ECF_PURE | ECF_CONST))
     return false;
   /* We need to check if we are within inlined consturctor