OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c/44051
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
nested-func-4.c
1
/* { 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 } } */