On Intel i386-GCC (4.2.3) we just get warning only for the line
if (c1 == ~c2)
The other lines does not give warnings, so maybe its just the ARM-backend that catch this warning.
I guess you mean that for ARM target the optimization tree does things that silence the warning. Is it good that optimizations can silence possible warnings/errors? And that it differs depending on which backend I'm running?
On Intel i386-GCC (4.2.3) we just get warning only for the line
if (c1 == ~c2)
The other lines does not give warnings, so maybe its just the ARM-backend that catch this warning.
I guess you mean that for ARM target the optimization tree does things that silence the warning. Is it good that optimizations can silence possible warnings/errors? And that it differs depending on which backend I'm running?