From: Jonathan Wakely Date: Wed, 21 Feb 2024 18:01:09 +0000 (+0000) Subject: doc: Fix typos in -Wmismatched-dealloc docs X-Git-Tag: basepoints/gcc-15~1020 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5964f1a3567e078f3fa4921380301f5690a787a;p=thirdparty%2Fgcc.git doc: Fix typos in -Wmismatched-dealloc docs gcc/ChangeLog: * doc/invoke.texi (Warning Options): Fix typos. --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d75b28484bb2..b4e4ee9fb816 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7262,7 +7262,7 @@ when non-existent profile data is justified. @item -Wmismatched-dealloc Warn for calls to deallocation functions with pointer arguments returned -from from allocations functions for which the former isn't a suitable +from allocation functions for which the former isn't a suitable deallocator. A pair of functions can be associated as matching allocators and deallocators by use of attribute @code{malloc}. Unless disabled by the @option{-fno-builtin} option the standard functions @code{calloc},