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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [950710-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
struct twelve
2
{
3
  int a;
4
  int b;
5
  int c;
6
};
7
 
8
struct pair
9
{
10
  int first;
11
  int second;
12
};
13
 
14
struct pair
15
g ()
16
{
17
  struct pair p;
18
  return p;
19
}
20
 
21
static void
22
f ()
23
{
24
  int i;
25
  for (i = 0; i < 1; i++)
26
    {
27
      int j;
28
      for (j = 0; j < 1; j++)
29
        {
30
          if (0)
31
            {
32
              int k;
33
              for (k = 0; k < 1; k++)
34
                {
35
                  struct pair e = g ();
36
                }
37
            }
38
          else
39
            {
40
              struct twelve a, b;
41
              if ((((char *) &b - (char *) &a) < 0
42
                   ? (-((char *) &b - (char *) &a))
43
                   : ((char *) &b - (char *) &a))  < sizeof (a))
44
                abort ();
45
            }
46
        }
47
    }
48
}
49
 
50
main ()
51
{
52
  f ();
53
  exit (0);
54
}

powered by: WebSVN 2.1.0

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