http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54743
--- Comment #2 from 顏烈彬 <slbyan at gmail dot com> 2012-09-29 07:48:26 UTC --- (In reply to comment #1) You mean that i (as most INT_MAX) is always less than 30000000000L? And, in a RH 2.6.18-164.el5, gcc Red Hat 4.1.2-52, it runs as (was) expected, because it's buggy is gcc 4.1.2? > 3000000000L is bigger than INT_MAX.