PR tree-optimization/37385
[official-gcc/alias-decl.git] / gcc / testsuite / gcc.dg / vect / pr37385.c
blobd6a477e634c7a5865171343b8cd374a24e95bdbd
1 /* Testcase by Martin Michlmayr <tbm@cyrius.com> */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target vect_int } */
5 typedef int int_t;
6 typedef void (*fun_t) (int);
7 fun_t fun_tab[400] __attribute__ ((__aligned__(16)));
9 void foo (int_t a);
11 void
12 bar ()
14 int i;
16 for (i = 0; i < 400; i++)
17 fun_tab[i] = foo;
20 /* { dg-final { cleanup-tree-dump "vect" } } */