annotate gcc/testsuite/gcc.dg/vect/pr37385.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Testcase by Martin Michlmayr <tbm@cyrius.com> */
kono
parents:
diff changeset
2 /* { dg-do compile } */
kono
parents:
diff changeset
3 /* { dg-require-effective-target vect_int } */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 typedef int int_t;
kono
parents:
diff changeset
6 typedef void (*fun_t) (int);
kono
parents:
diff changeset
7 fun_t fun_tab[400] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 void foo (int_t a);
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 void
kono
parents:
diff changeset
12 bar ()
kono
parents:
diff changeset
13 {
kono
parents:
diff changeset
14 int i;
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 for (i = 0; i < 400; i++)
kono
parents:
diff changeset
17 fun_tab[i] = foo;
kono
parents:
diff changeset
18 }
kono
parents:
diff changeset
19