http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46279
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-11-02 21:31:03 UTC --- Try -O3. -O3 enables -funswitch-loops which does this.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46279
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-11-02 21:31:03 UTC --- Try -O3. -O3 enables -funswitch-loops which does this.