[Bug c/68201] alloc_size attribute and memory pools

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 4 09:14:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68201

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
As GCC uses the attribute for static analysis it can't go out and read the
actual
value from pool->block_size so I see no value in providing the size this way
(it would also only work if pool_alloc is inlined).


More information about the Gcc-bugs mailing list