From 0e38aedc6af7c4f4b5d46fb90c4eeb3011ad8369 Mon Sep 17 00:00:00 2001 From: Jonny Grant Date: Sun, 19 Mar 2023 01:21:33 +0000 Subject: [PATCH] Docs: correct typo in nonnull function attribute description. gcc/ChangeLog: * doc/extend.texi (Common Function Attributes) : Correct typo. --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2