https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99295
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |10.2.1, 9.3.0
Summary|[11 Regression] |[9/10/11 Regression]
|documentation on |documentation on
|__attribute__((malloc)) is |__attribute__((malloc)) is
|wrong |wrong
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot
gnu.org
Known to work|10.2.1 |8.3.0
Keywords| |patch
Status|NEW |ASSIGNED
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
I agree the insertion of the sentence:
Compiler predicts that a function with the attribute returns non-null in most
cases.
make the following sentence at least ambiguous if not incorrect. The sentence
was added in r263355, in response to pr83023.
I have posted the following change to avoid the unintended reading:
https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566030.html