From gcc-patches Sat Feb 10 22:43:09 2007 From: Dirk Mueller Date: Sat, 10 Feb 2007 22:43:09 +0000 To: gcc-patches Subject: PING: [PATCH] C/C++: Implement -Wempty-body for do/while, clarify diagnostic Message-Id: <200702102343.09758.dmuell () gmx ! net> X-MARC-Message: https://marc.info/?l=gcc-patches&m=117114740013247 On Thursday, 1. February 2007 14:05, Dirk Mueller wrote: > a) it clarifies the diagnostic of the empty if/else body warning. > b) it adds a similiar warning for "do ; while(1)" which is probably another > pointless and rarely occured construct. PING: http://gcc.gnu.org/ml/gcc-patches/2007-02/msg00049.html bootstrapped and regtested against yesterdays trunk. Dirk