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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr47228.c] - Blame information for rev 698

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do run } */
2
/* { dg-require-effective-target int32plus } */
3
 
4
struct S4
5
{
6
  unsigned f0:24;
7
} __attribute__((__packed__));
8
 
9
struct S4 g_10 = {
10
  6210831
11
};
12
 
13
struct S4 func_2 (int x)
14
{
15
  struct S4 l_8[2] = {
16
    {0}, {0}
17
  };
18
  g_10 = l_8[1];
19
  for (; x<2; x++) {
20
    struct S4 tmp = {
21
      11936567
22
    };
23
    l_8[x] = tmp;
24
  }
25
  return g_10;
26
}
27
 
28
int main (void)
29
{
30
  func_2 (0);
31
  return 0;
32
}

powered by: WebSVN 2.1.0

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