doc: Fix documentation for __builtin_dynamic_object_size
commitf5300d28bfa18485cfe7aca15eb5e8c193376ba0
authorSiddhesh Poyarekar <siddhesh@gotplt.org>
Thu, 15 Dec 2022 16:45:17 +0000 (15 11:45 -0500)
committerSiddhesh Poyarekar <siddhesh@gotplt.org>
Thu, 15 Dec 2022 17:52:42 +0000 (15 12:52 -0500)
treebcb4e4a4ac7cea8d5eda7278a15a0088de829f25
parent7283380a5829150cc820ab3b25c4d91cad372eec
doc: Fix documentation for __builtin_dynamic_object_size

__builtin_dynamic_object_size is missing from the full list of builtins,
so add it.  Also mention it alongside __builtin_object_size in the
passes description.

gcc/ChangeLog:

* doc/extend.texi (__builtin_dynamic_object_size): Document
builtin.
* doc/passes.texi
(Optimize calls to @code{__builtin_object_size}): Also mention
__builtin_dynamic_object_size.

Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org>
gcc/doc/extend.texi
gcc/doc/passes.texi