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.dg/] [20020425-1.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR c/2161: parser stack overflow.  */
2
/* { dg-do compile } */
3
/* { dg-timeout-factor 4.0 } */
4
 
5
#define ONE     else if (0) { }
6
#define TEN     ONE ONE ONE ONE ONE ONE ONE ONE ONE ONE
7
#define HUN     TEN TEN TEN TEN TEN TEN TEN TEN TEN TEN
8
#define THOU    HUN HUN HUN HUN HUN HUN HUN HUN HUN HUN
9
 
10
void foo()
11
{
12
  if (0) { }
13
  /* 11,000 else if's.  */
14
  THOU THOU THOU THOU THOU THOU THOU THOU THOU THOU THOU
15
}

powered by: WebSVN 2.1.0

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