Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
tree-prof
/
pr51719.C
blob: 01e81ff66eda0f46fafcb25ea69c4252bf4b03cb [
file
] [
log
] [
blame
]
// PR tree-optimization/51719
// { dg-options "-O -fpartial-inlining" }
int
bar
(
void
)
{
throw
1
;
}
int
__attribute__
((
noinline
,
noclone
))
foo
(
int
(*
f
)
(
void
))
{
try
{
return
(*
f
)
();
}
catch
(...)
{
}
return
0
;
}
int
main
()
{
return
foo
(
bar
);
}