------- Comment #19 from hjl at lucon dot org 2007-04-18 21:47 ------- For
for(unsigned i=0;i<1;i++) result += a.begin[i]; x.ii.004t.gimple looks like const int * D.2454; long unsigned int D.2455; long unsigned int D.2456; const int * D.2457; const int * D.2458; D.2455 = (long unsigned int) i; D.2456 = D.2455 * 4; D.2457 = (const int *) D.2456; D.2458 = D.2454 + D.2457; Why array index is a pointer? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30567