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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20020425-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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