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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O -ftree-vectorize -fdump-tree-vect-details -fexceptions" } */
3
 
4
typedef __attribute__ ((const)) int (*bart) (void);
5
 
6
int foo (bart bar, int m)
7
{
8
  int i, j = 0;
9
  for (i = 0; i < m; i++)
10
    j += bar();
11
  return j;
12
}
13
 
14
/* { 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.