[Bug tree-optimization/83648] missing -Wsuggest-attribute=malloc on a trivial malloc-like function
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 6 18:12:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list