]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/profile-generate-2.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / profile-generate-2.c
1 /* PR middle-end/23199 */
2 /* Testcase by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> */
3
4 /* { dg-do compile } */
5 /* { dg-options "-O -fprofile-generate" } */
6
7 union rtunion_def
8 {
9 struct rtx_def *rt_rtx;
10 };
11
12 typedef union rtunion_def rtunion;
13
14 struct rtx_def
15 {
16 unsigned int in_struct : 1;
17 union u {
18 rtunion fld[1];
19 } u;
20 };
21
22 typedef struct rtx_def *rtx;
23
24 static void
25 check_annul_list_true_false (int annul_true_p, rtx delay_list)
26 {
27 rtx temp;
28 while (1)
29 {
30 temp = delay_list;
31 rtx trial = (((temp)->u.fld[0]).rt_rtx);
32 if ((annul_true_p && (((trial))->in_struct)))
33 return;
34 }
35 }