[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: list, set, oset, map, omap: Prepare for allocation-deallocation chec
Re: list, set, oset, map, omap: Prepare for allocation-deallocation checking
Mon, 9 Aug 2021 03:35:51 -0700
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
On 8/7/21 3:02 PM, Bruno Haible wrote:
The GCC documentation  says that the attribute 'malloc (deallocator, 1)'
does not work on inline functions. IMO, this restriction is not tenable in
the long run (because the semantics of a function don't depend on whether
it is inline or not, and because in C++ the majority of all functions is
Yes, this problem also annoyed me. I uninlined the relevant functions,
but that's not always a reasonable thing to do, performance-wise.
I submitted a GCC bug report for this issue, here:
- list, set, oset, map, omap: Prepare for allocation-deallocation checking, Bruno Haible, 2021/08/07
- Re: list, set, oset, map, omap: Prepare for allocation-deallocation checking,
Paul Eggert <=