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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [stack1.C] - Blame information for rev 717

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

Line No. Rev Author Line
1 693 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.