Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr56635.C
blob: 53d6bb96ad5a5583df02924ca06d8669643cc861 [
file
] [
log
] [
blame
]
// PR tree-optimization/56635
// { dg-do compile }
struct
A
{
_Complex
double
a
;
};
void
foo
(
A
**
x
,
A
**
y
)
{
A r
;
if
(
__real__ x
[
0
]->
a
)
{
r
.
a
=
y
[
0
]->
a
/
x
[
0
]->
a
;
**
x
=
r
;
}
else
**
x
=
**
y
;
}