repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
opt
/
complex3.C
blob
9a3fdf3f0d2359e8dca80fba9c8552c0803d077e
1
// PR 22022
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
5
_Complex float f();
6
_Complex float g();
7
_Complex float h()throw();
8
void i(float)throw();
9
10
float j(void)
11
{
12
_Complex float x = h();
13
try
14
{
15
try
16
{
17
x = f();
18
}catch (...)
19
{
20
x += g();
21
}
22
}catch(...){}
23
i(__builtin_crealf(x)+__builtin_cimagf(x));
24
}