Re: [PATCH] clarify nonaliasing property of attribute malloc (PR 99295)

2021-03-02 Thread Richard Biener via Gcc-patches
On Mon, Mar 1, 2021 at 7:32 PM Martin Sebor via Gcc-patches wrote: > > The documentation change made for pr83023 - branch probabilities > pessimize malloc, introduced an ambiguity into the description of > attribute malloc pointed out in pr99295. > > The change suggests that GCC assumes that most

[PATCH] clarify nonaliasing property of attribute malloc (PR 99295)

2021-03-01 Thread Martin Sebor via Gcc-patches
The documentation change made for pr83023 - branch probabilities pessimize malloc, introduced an ambiguity into the description of attribute malloc pointed out in pr99295. The change suggests that GCC assumes that most calls only to malloc and calloc but not to realloc return non-null.