------- 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