Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}