[Bug c/79696] missing -Wunused-result on calls to malloc() and calloc()

2018-10-30 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79696 Eric Gallager changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment #

[Bug c/79696] missing -Wunused-result on calls to malloc() and calloc()

2017-10-31 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79696 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|2017-07-31 00:00:

[Bug c/79696] missing -Wunused-result on calls to malloc() and calloc()

2017-07-31 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79696 Martin Sebor changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug c/79696] missing -Wunused-result on calls to malloc() and calloc()

2017-07-31 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79696 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c/79696] missing -Wunused-result on calls to malloc() and calloc()

2017-02-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79696 --- Comment #1 from Andrew Pinski --- -Wunused-result warns on the attribute warn_unused_result usage. If these functions are not marked that way in glibc, it is maybe a glibc bug. I don't think we should mark these as warn_unused_result really.