------- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-15 04:08 ------- Here is an example which also happens on x86 so this is not target specific: int var;
int g(int); int foo(int enable, int t, int tt) { if (enable) var |= 1; else var &= ~1; return g(var+t/tt); } -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |tree-optimization GCC build triplet|i686-pc-cygwin | GCC host triplet|i686-pc-cygwin | GCC target triplet|arm-unknown-elf | Keywords| |missed-optimization Summary|missed optimization on ARM |missed optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42046