https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79074
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |10.2.0, 11.2.0, 12.0,
| |7.3.0, 8.3.0, 9.2.0
Last reconfirmed|2017-01-12 00:00:00 |2021-11-23
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
No change in GCC 12. The inequality test below is still not diagnosed in C
(but is in C++):
int g (int i) { return &i != (int *) 0; }