2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr37385.c
blob8b1cf3ae18a30bd9cefd612eef202785ebf7a5a7
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__(__BIGGEST_ALIGNMENT__)));
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" } } */