http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53114
--- Comment #4 from Alexey Kravets <mr.kayrick at gmail dot com> 2012-04-26 07:55:25 UTC --- -fno-ivopts option fixed this issue (thanks to Alexander Monakov ), so there is an induction variables optimization issue. http://gcc.gnu.org/ml/gcc/2012-04/msg00815.html