http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40935
Georg Lay <avr at gjlay dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |avr at gjlay dot de --- Comment #1 from Georg Lay <avr at gjlay dot de> 2010-11-03 19:55:52 UTC --- Obviously compiled with -O0, nothing to be expected from optimizers. Optimizing avr-gcc-4.3.3 performs well. Moreover, note that the two sequences are *not* equivalent due to C promotion rules.