Implement C _FloatN, _FloatNx types.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr53390.c
blob72a25c52eac2eb43e9e17c29d25ae77fbd514d07
1 /* { dg-do compile } */
3 extern unsigned short var1;
4 extern int var2;
6 extern struct {
7 int f1;
8 unsigned short *f2;
9 } *my_table;
11 void foo(void)
13 unsigned short *local_vec
14 = __builtin_malloc(var1 * var2 * sizeof(unsigned short));
15 unsigned short i;
17 my_table[0].f2 = __builtin_malloc(var1 * sizeof(unsigned short));
19 for (i = 0; i < var1; ++i)
20 my_table[0].f2[i] = local_vec[i * var2];