This is GCC Bugzilla
This is GCC Bugzilla Version 2.20+
View Bug Activity | Format For Printing | Clone This Bug
Even if Null is explicitly checked for, the compiler still gives the warning.
Created an attachment (id=9146) [edit] The C file that will generate the warning. (-Wall required) Null is explicity checked for before making the function call.
Created an attachment (id=9147) [edit] Preprocessed version of the example
This is because we don't use flow control for this warning at all and this warning is done in the front- end instead of the middle-end where we have flow control.
This is basicially PR 17308. *** This bug has been marked as a duplicate of 17308 ***