------- Comment #9 from pinskia at gcc dot gnu dot org 2006-01-30 19:08 ------- Actually it is not complete unrolling that is going wrong but expand.
static char intstr[1:10] = "0123456789"; ;; if (c1$1 == intstr[1]{lb: 1 sz: 1}) (void) 0; else goto <L35>; (insn 85 83 86 (set (reg:CCZ 17 flags) (compare:CCZ (reg:QI 68 [ c1$1 ]) (const_int 49 [0x31]))) -1 (nil) (nil)) See how we compare that again '1' and not '0'. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |middle-end http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26001