☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
opt
/
ifcvt1.C
☽
☼
gcc/testsuite/g++.dg/opt/ifcvt1.C
code
plain
raw
1
// { dg-do compile }
2
// { dg-options "-O2 -fnon-call-exceptions" }
3
4
struct S { ~S () throw () {} };
5
double bar ();
6
7
int
8
foo ()
9
{
10
S a;
11
int i = 0;
12
double c = bar ();
13
c = c < 0 ? -c : c;
14
if (c <= 1.e-8)
15
i += 24;
16
return i;
17
}