------- Comment #6 from pinskia at gcc dot gnu dot org 2008-09-02 20:45 ------- The main difference between -O2 and -Os is that csum_partial is inlined for -Os and unrolling is disabled for -Os. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37312