Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr22037.C
blob: 11fc1b0389af527dc224478ca82450e5e8a9c785 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2" } */
extern
double
sqrt
(
double
)
throw
();
void
foo
(
double
&
d
,
int
n
)
{
double
e
=
0
;
for
(
int
i
=
0
;
i
<
n
;
i
++);
for
(
int
i
=
0
;
i
<
n
;
i
++)
e
=
1
;
d
=
sqrt
(
e
);
for
(
int
i
=
0
;
i
<
n
;
i
++);
}