------- Comment #2 from changpeng dot fang at amd dot com 2010-06-04 23:15 ------- Interesting! What's the difference between 17 and 18? ------------ int main() { double i; for(i=0; i<18; i+=1); /* gcc -O3, empty loop not removed */ } ---------------- int main() { double i; for(i=0; i<17; i+=1); /* gcc -O3, empty loop removed */ }
-- changpeng dot fang at amd dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |changpeng dot fang at amd | |dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43529