https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86488
Marco Elver <elver at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |elver at google dot com
--- Comment #3 from Marco Elver <elver at google dot com> ---
It looks like there's convergence to a new `malloc_span` attribute instead of
extending `malloc` (https://github.com/llvm/llvm-project/pull/167010):
> The ``malloc_span`` attribute can be used to mark that a function which acts
> like a system memory allocation function and returns a span-like structure,
> where the returned memory range does not alias storage from any other object
> accessible to the caller.
>
> In this context, a span-like structure is assumed to have two fields, one of
> which is a pointer to the allocated memory and another one is an integer type
> containing the size of the actually allocated memory.