From: Jonny Grant Date: Sun, 19 Mar 2023 01:21:33 +0000 (+0000) Subject: Docs: correct typo in nonnull function attribute description. X-Git-Tag: basepoints/gcc-14~456 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e38aedc6af7c4f4b5d46fb90c4eeb3011ad8369;p=thirdparty%2Fgcc.git Docs: correct typo in nonnull function attribute description. gcc/ChangeLog: * doc/extend.texi (Common Function Attributes) : Correct typo. --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 8ecd9611201a..dfe54a6ddf3f 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -3665,7 +3665,7 @@ marked with nonnull is compared with null, and @option{-Wnonnull-compare} option is enabled, a warning is issued. @xref{Warning Options}. @item The compiler may also perform optimizations based on the -knowledge that @code{nonnul} parameters cannot be null. This can +knowledge that @code{nonnull} parameters cannot be null. This can currently not be disabled other than by removing the nonnull attribute. @end itemize