public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] correct function attribute typo
@ 2023-03-16 22:37 Jonny Grant
  2023-03-19  1:30 ` Sandra Loosemore
  0 siblings, 1 reply; 2+ messages in thread
From: Jonny Grant @ 2023-03-16 22:37 UTC (permalink / raw)
  To: gcc-patches

Hello
There's a typo in the common function attribute docs, "nonnul" which this patch corrects.

https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes

gcc/ChangeLog
2023-03-16  Jonny Grant  <jg@jguk.org>
	* doc/extend.texi: correct function attribute 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 e0c5357291b..91dfdef4461 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3657,7 +3657,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] 2+ messages in thread

* Re: [PATCH] correct function attribute typo
  2023-03-16 22:37 [PATCH] correct function attribute typo Jonny Grant
@ 2023-03-19  1:30 ` Sandra Loosemore
  0 siblings, 0 replies; 2+ messages in thread
From: Sandra Loosemore @ 2023-03-19  1:30 UTC (permalink / raw)
  To: Jonny Grant, gcc-patches

On 3/16/23 16:37, Jonny Grant wrote:
> Hello
> There's a typo in the common function attribute docs, "nonnul" which this patch corrects.

Thank you!  I've pushed this patch.

-Sandra

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-19  1:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16 22:37 [PATCH] correct function attribute typo Jonny Grant
2023-03-19  1:30 ` 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).