OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr30858.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
 
4
int
5
foo (int ko)
6
{
7
 int j,i;
8
  for (j = 0; j < ko; j++)
9
   i += (i > 10) ? -5 : 7;
10
 return i;
11
}
12
 
13
/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */
14
/* { dg-final { scan-tree-dump "Unknown def-use cycle pattern." "vect" } } */
15
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.