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

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Suppressing the warning for the whole test should definitely work and seems to
me like a reasonable way to deal with the failure.

The alloc_size attribute the warning relies on doesn't provide for the rounding
pvalloc does and GCC doesn't know about the function, so these (valid) use
cases will trigger it.  We could teach GCC about the pvalloc property but since
the function is deprecated and I'm guessing rarely used it's probably not worth
the trouble.

Reply via email to