aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Grant <jg@jguk.org>2023-03-19 01:21:33 +0000
committerSandra Loosemore <sandra@codesourcery.com>2023-03-19 01:28:56 +0000
commit0e38aedc6af7c4f4b5d46fb90c4eeb3011ad8369 (patch)
tree9b6224bf662853c96d651f97dd0608b696e999d5
parentcffcb774c630c687791a0894d08d51f282ea1411 (diff)
downloadgcc-0e38aedc6af7c4f4b5d46fb90c4eeb3011ad8369.zip
gcc-0e38aedc6af7c4f4b5d46fb90c4eeb3011ad8369.tar.gz
gcc-0e38aedc6af7c4f4b5d46fb90c4eeb3011ad8369.tar.bz2
Docs: correct typo in nonnull function attribute description.
gcc/ChangeLog: * doc/extend.texi (Common Function Attributes) <nonnull>: Correct typo.
-rw-r--r--gcc/doc/extend.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 8ecd961..dfe54a6 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