From: Jonathan Wakely Date: Mon, 16 Jan 2023 09:56:58 +0000 (+0000) Subject: doc: Fix grammar typo in description of malloc attribute X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfc5ea6b0ef6ec57790e972f488062e9e18c59cf;p=people%2Fms%2Fgcc.git doc: Fix grammar typo in description of malloc attribute gcc/ChangeLog: * doc/extend.texi (Common Function Attributes): Fix grammar. --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 1103e9936f7..867ef07ea4b 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -3383,7 +3383,7 @@ Attribute @code{malloc} indicates that a function is @code{malloc}-like, i.e., that the pointer @var{P} returned by the function cannot alias any other pointer valid when the function returns, and moreover no pointers to valid objects occur in any storage addressed by @var{P}. In -addition, the GCC predicts that a function with the attribute returns +addition, GCC predicts that a function with the attribute returns non-null in most cases. Independently, the form of the attribute with one or two arguments