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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20040811-1.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* Ensure that we deallocate X when branching back before its
2
   declaration.  */
3
 
4
void *volatile p;
5
 
6
int
7
main (void)
8
{
9
  int n = 0;
10
 lab:;
11
  int x[n % 1000 + 1];
12
  x[0] = 1;
13
  x[n % 1000] = 2;
14
  p = x;
15
  n++;
16
  if (n < 1000000)
17
    goto lab;
18
  return 0;
19
}

powered by: WebSVN 2.1.0

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