https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85562
sandra at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
CC| |sandra at gcc dot gnu.org
--- Comment #5 from sandra at gcc dot gnu.org ---
This has been fixed, or at least the test case now prints a more reasonable
message:
sample.c: In function 'xmalloc':
sample.c:4:1: warning: function might be candidate for attribute 'malloc'
[-Wsuggest-attribute=malloc]
4 | xmalloc (size_t n)
| ^~~~~~~