OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr37385.c] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target vect_int } */
4
 
5
typedef int int_t;
6
typedef void (*fun_t) (int);
7
fun_t fun_tab[400] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
8
 
9
void foo (int_t a);
10
 
11
void
12
bar ()
13
{
14
  int i;
15
 
16
  for (i = 0; i < 400; i++)
17
      fun_tab[i] = foo;
18
}
19
 
20
/* { 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.