repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
pr25000.C
blob
45d468020ef954966bfe625dc71f577b71a72b0b
1
// { dg-do compile }
2
// { dg-options "-O2" }
3
int * f(void);
4
void g(int*);
5
bool h(void);
6
void Find( )
7
{
8
int * pRes = f();
9
if( !pRes ) {
10
if( h()){
11
if( h()){
12
try
13
{
14
pRes = new int();
15
f();
16
}catch(int& e1 ){}
17
}
18
if( !pRes )
19
f();
20
}
21
g(pRes);
22
}
23
}
24