This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: function attributes on function pointers
Tim Blechmann <tim@klingt.org> writes:
>> I don't think it would be very difficult to implement this if you are
>> interested in trying.
>
> ... i am not really familiar with the gcc codebase, so i wouldn't know where to
> start looking (unless you can give me a quick overview about the parts that is
> should touch)
grep for DECL_IS_MALLOC, compare with the way the alloc_size attribute
is handled.
Ian