[PATCH] Do not warn with warn_unused_result for alloca(0).

Jeff Law law@redhat.com
Fri Jun 14 01:33:00 GMT 2019

On 6/13/19 10:46 AM, Tom Tromey wrote:
>>>>>> "Jeff" == Jeff Law <law@redhat.com> writes:
> Jeff> I'd like to move C-alloca support to the ash heap of history.  But I'm
> Jeff> not sure we can realistically do that.
> Are there still platforms or compilers in use where it's needed?
> For gdb I was planning to just remove these calls.
Probably not that we care about for building gcc, gdb & friends.  I'd be
more hesitant to declare C-alloca dead in the more general sense.


More information about the Gcc-patches mailing list