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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [nested-func-5.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fexceptions" } */
3
/* PR28516: ICE generating ARM unwind directives for nested functions.  */
4
/* { dg-require-effective-target trampolines } */
5
 
6
void ex(int (*)(void));
7
void foo(int i)
8
{
9
  int bar(void)
10
  {
11
    return i;
12
  }
13
  ex(bar);
14
}

powered by: WebSVN 2.1.0

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