https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91428
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-08-12 CC| |mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Barry Revzin from comment #0) > Can you please provide a warning for this erroneous usage? Yes, I think this ought to me feasible to add to finish_if_stmt_cond.