[Bug c/47931] missing -Waddress warning for comparison with NULL

2017-01-15 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47931 --- Comment #9 from Christophe Lyon --- Indeed, I can now see it was fixed between r244372 and r244391, sorry for the noise (there was a delay in my validations).

[Bug c/47931] missing -Waddress warning for comparison with NULL

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47931 --- Comment #8 from Martin Sebor --- It did fail yesterday because of a SNAFU on my part (sorry about that) but in r244378 I committed a fix that should have resolved the failure. Please check again and let me know if it still shows up (I don't

[Bug c/47931] missing -Waddress warning for comparison with NULL

2017-01-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47931 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug c/47931] missing -Waddress warning for comparison with NULL

2017-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47931 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/47931] missing -Waddress warning for comparison with NULL

2017-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47931 --- Comment #5 from Martin Sebor --- Author: msebor Date: Wed Jan 11 18:33:13 2017 New Revision: 244331 URL: https://gcc.gnu.org/viewcvs?rev=244331&root=gcc&view=rev Log: PR c/47931 - missing -Waddress warning for comparison with NULL gcc/tests

[Bug c/47931] missing -Waddress warning for comparison with NULL

2016-03-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47931 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c/47931] missing -Waddress warning for comparison with NULL

2011-03-01 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47931 Richard Guenther changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug c/47931] missing -Waddress warning for comparison with NULL

2011-03-01 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47931 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug c/47931] missing -Waddress warning for comparison with NULL

2011-02-28 Thread msebor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47931 --- Comment #1 from Martin Sebor 2011-02-28 19:38:15 UTC --- To add a suggested solution to my report: Since many (most?) comparisons will be against NULL which can be defined as either 0 or (void*)0 I think it would be best to diagnose both form