[Bug tree-optimization/81452] warn on realloc(p, 0)

2019-01-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81452 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > There is -Walloc-zero. If we want a separate knob for just it then maybe > -Wrealloc-zero. Oh right, -Walloc-zero, I forgot about that one. It triggers so rarely

[Bug tree-optimization/81452] warn on realloc(p, 0)

2019-01-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81452 --- Comment #3 from Martin Sebor --- There is -Walloc-zero. If we want a separate knob for just it then maybe -Wrealloc-zero.

[Bug tree-optimization/81452] warn on realloc(p, 0)

2019-01-09 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81452 --- Comment #2 from Eric Gallager --- any ideas for a name for this proposed warning?

[Bug tree-optimization/81452] warn on realloc(p, 0)

2017-08-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81452 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/81452] warn on realloc(p, 0)

2017-07-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81452 Martin Sebor changed: What|Removed |Added Keywords||diagnostic URL|