------- Comment #8 from steven at gcc dot gnu dot org 2006-07-16 16:51 ------- No. At -Os, we care about smaller code. Unless that sequence of insns with muls and shifts is smaller than a div, we should produce the div at -Os. And as far as I can see, the div will always be smaller.
Not a bug. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28395