Mercurial > hg > CbC > CbC_gcc
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 |
rev | line source |
---|---|
111 | 1 /* 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 |