bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18410: Use SAFE_ALLOCA etc. to avoid unbounded stack allocation.


From: Paul Eggert
Subject: bug#18410: Use SAFE_ALLOCA etc. to avoid unbounded stack allocation.
Date: Fri, 05 Sep 2014 08:03:54 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Dmitry Antipov wrote:
If __GNUC__, can't we use __attribute__ ((cleanup (freeing_function)))
for implicit calls
to SAFE_FREE

We could, but I don't see how this would help. For non-GNUC we need to call the freeing function explicitly anyway, so __attribute__ ((cleanup ...)) would simply clutter up the source, no? Or perhaps I'm not understanding the suggestion.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]