OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [profile-generate-2.c] - Blame information for rev 149

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.