public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6751] Docs: correct typo in nonnull function attribute description.
@ 2023-03-19 1:29 Sandra Loosemore
0 siblings, 0 replies; only message in thread
From: Sandra Loosemore @ 2023-03-19 1:29 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:0e38aedc6af7c4f4b5d46fb90c4eeb3011ad8369
commit r13-6751-g0e38aedc6af7c4f4b5d46fb90c4eeb3011ad8369
Author: Jonny Grant <jg@jguk.org>
Date: Sun Mar 19 01:21:33 2023 +0000
Docs: correct typo in nonnull function attribute description.
gcc/ChangeLog:
* doc/extend.texi (Common Function Attributes) <nonnull>:
Correct typo.
Diff:
---
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 8ecd9611201..dfe54a6ddf3 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-19 1:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-19 1:29 [gcc r13-6751] Docs: correct typo in nonnull function attribute description Sandra Loosemore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).