https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83648
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Known to work| |9.0 Resolution|--- |FIXED Target Milestone|--- |9.0 Known to fail| |8.2.0 --- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- GCC 9 reports both functions in the test case in comment #0 as candidates for attribute malloc. Resolving as fixed.