------- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-12 18:43 ------- The reason why increment is smaller is because the inc instruction is smaller than loading a constant.
This is a target specific optimization as most other targets, it is going to be about the same. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Component|middle-end |target Ever Confirmed|0 |1 GCC build triplet|i386-linux-gnu | GCC host triplet|i386-linux-gnu | GCC target triplet|i386-linux-gnu |i?86-*-* Last reconfirmed|0000-00-00 00:00:00 |2006-06-12 18:43:47 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28001