PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / profile-generate-2.c
blobeaea065f5267c37d360650bd1e87431def0e0c50
1 /* PR middle-end/23199 */
2 /* Testcase by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> */
4 /* { dg-do compile } */
5 /* { dg-options "-O -fprofile-generate" } */
7 union rtunion_def
9 struct rtx_def *rt_rtx;
12 typedef union rtunion_def rtunion;
14 struct rtx_def
16 unsigned int in_struct : 1;
17 union u {
18 rtunion fld[1];
19 } u;
22 typedef struct rtx_def *rtx;
24 static void
25 check_annul_list_true_false (int annul_true_p, rtx delay_list)
27 rtx temp;
28 while (1)
30 temp = delay_list;
31 rtx trial = (((temp)->u.fld[0]).rt_rtx);
32 if ((annul_true_p && (((trial))->in_struct)))
33 return;