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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do run } */
2
 
3
int l_5_5_2 = 4;
4
int g_3[1][1];
5
 
6
void func_1 (void)
7
{
8
  for (g_3[0][0] = 1; g_3[0][0] < 8; g_3[0][0] += 7) {
9
    int *l_6 = &g_3[0][0];
10
    *l_6 = l_5_5_2;
11
  }
12
}
13
 
14
int main (void)
15
{
16
  func_1 ();
17
  if (g_3[0][0] != 11)
18
      __builtin_abort ();
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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