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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-pg" } */
3
/* { dg-options "-pg -static" { target hppa*-*-hpux* } } */
4
/* { dg-require-profiling "-pg" } */
5
 
6
extern void abort(void);
7
 
8
void foo(int i)
9
{
10
  void bar(void)
11
  {
12
    if (i != 2)
13
      abort ();
14
  }
15
 
16
  bar();
17
}
18
 
19
int main(void)
20
{
21
  foo (2);
22
  return 0;
23
}
24
 
25
/* { dg-final { cleanup-profile-file } } */

powered by: WebSVN 2.1.0

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