https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92116
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- (In reply to Thomas Schwinge from comment #2) IIRC, I assumed based on the check for t != NULL in the controlling expression that the loop could terminate with t == NULL. The warning code predates the patch I was testing -- it just enables it without enhancing its implementation. But since r279147 removes the loop I think this report can be resolved, either as fixed or as invalid.