[Bug c++/30567] -fPIC -O3 optimizer bug (32-bit target only)
hjl at lucon dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 18 20:47:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list