Merge from mainline (160224:163495).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / struct / wo_prof_escape_substr_array.c
blobbd03ec42f0534a905ce6ec570d1b5f796043eded
1 /* { dg-do compile } */
2 /* { dg-do run } */
4 #include <stdlib.h>
5 typedef struct
7 int a;
8 float b;
9 }str_t;
11 #define N 1000
13 typedef struct
15 str_t A[N];
16 int c;
17 }str_with_substr_t;
19 str_with_substr_t a;
21 int
22 main ()
24 int i;
26 for (i = 0; i < N; i++)
27 a.A[i].b = 0;
29 return 0;
32 /*--------------------------------------------------------------------------*/
33 /* { dg-final { scan-ipa-dump "is a field in the structure" "ipa_struct_reorg" { xfail *-*-* } } } */
34 /* { dg-final { cleanup-ipa-dump "*" } } */