------- Comment #5 from fredrik dot hederstierna at securitas-direct dot com 2008-12-01 13:35 ------- 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? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38341