https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67216
Bug ID: 67216 Summary: false is still a null pointer constant Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: potswa at mac dot com Target Milestone: --- false should not convert to pointer types since C++11. This program is ill formed in C++03 and well formed in C++11. struct s { s( long ) {} }; struct t { t( void * ) {} } void foo(s) {} void foo(t) {} int main() { foo(false); }