http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47470
--- Comment #6 from Tomer Levi <Tomer.Levi at nuvoton dot com> 2011-01-26 13:00:17 UTC --- Hi Richard, Thanks for your prompt reply. Actually, -fno-loop-optimize was the first thing i've tried when facing this issue. However, the generated code is even worse than using -Os alone. The loop pre-header still appears, meaning dual comparison. -fno-loop-optimize2 is not supported under GCC 3.3.2.