https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64767
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org --- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Looking into this; the C FE part will be harder than the C++ FE part since the latter has delayed folding. I'm wondering whether a warning for ptr == (char) 0 would be desirable or not, but I guess so.