[Bug tree-optimization/21591] not vectorizing a loop with access to structs
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun May 15 19:03:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-15 19:03 -------
Note I reduced this from the following Java code:
public class Test {
public static final void main(String[] args) {
int[] a = new int[256];
int[] b = new int[256];
int[] c = new int[256];
for (int i = 0; i < 256; i++) {
b[i] = i;
c[i] = i;
}
for (int i = 0; i < 256; i++) {
a[i] = b[i] + c[i];
}
}
}
But I needed a patch to the java front-end to mark a label decl as DECL_ARTIFICIAL to get even trying to
vectorize the loop (and -fno-bounds-check).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21591
More information about the Gcc-bugs
mailing list