http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
xunxun <xunxun1982 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xunxun1982 at gmail dot com --- Comment #1 from xunxun <xunxun1982 at gmail dot com> 2011-10-30 16:26:26 UTC --- I found that when combining -O1, -fstrict-overflow and -ftree-vrp, the infinite loop occured. And -O2 contains -O1, -fstrict-overflow and -ftree-vrp .