URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [no-tree-pre-pr45241.c] - Rev 689
Compare with Previous | Blame | View Log
/* PR tree-optimization/45241 */ /* { dg-do compile } */ /* { dg-options "-ftree-vectorize" } */ int foo (short x) { short i, y; int sum; for (i = 0; i < x; i++) y = x * i; for (i = x; i > 0; i--) sum += y; return sum; } /* { dg-final { cleanup-tree-dump "vect" } } */