On 13 December 2010 09:34, andre maute wrote: > > sorry, the spaces got lost, but is ambiguous the correct > wording here? it doesn't result in undefined behavior. > the else couples always with the inner if It's unambiguous to the compiler, but not necessarily to someone reading the code. Which is exactly the same as the example in the documentation. -Wparentheses is not about diagnosing undefined behaviour, it's for identifying confusing code which could be misinterpreted by someone reading it.