On 12/06/2012 08:53 PM, Bruce Korb wrote: > can GCC decide that the result of (x) is not really used and still complain?
GCC is allowed to generate whatever warnings it likes. It can warn whenever you have a program that uses the letter 'a', say. But it is required to generate code that does what you want, for that case.