[PATCH] Warn for dangerous use of omitted middle operand in ?: v4

Andreas Schwab schwab@suse.de
Tue Jan 20 09:05:00 GMT 2009


Andi Kleen <andi@firstfloor.org> writes:

> +Also warn for dangerous uses of the 
> +?: with omitted middle operand GNU extension. When the condition
> +in the ?: operator is a computed boolean the omitted value will

s/computed boolean/boolean expression/.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list