URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr49771.c] - Rev 689
Compare with Previous | Blame | View Log
#include <stdlib.h> #include <stdarg.h> static int a[1000]; int foo (void) { int j; int i; for (i = 0; i < 1000; i++) for (j = 0; j < 1000; j++) a[j] = a[i] + 1; return a[0]; } int main (void) { int res = foo (); if (res != 1999) abort (); return 0; } /* { dg-final { cleanup-tree-dump "vect" } } */