This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]