https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87699
Bug ID: 87699 Summary: Implement CWG 1512 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tiagomacarios at gmail dot com Target Milestone: --- As per http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3478.html the below should not compile. https://godbolt.org/z/mOpxau bool foo(int* bar) { return bar > 0; }