repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
strub: enable conditional support
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr56635.C
blob
53d6bb96ad5a5583df02924ca06d8669643cc861
1
// PR tree-optimization/56635
2
// { dg-do compile }
3
4
struct A { _Complex double a; };
5
6
void
7
foo (A **x, A **y)
8
{
9
A r;
10
if (__real__ x[0]->a)
11
{
12
r.a = y[0]->a / x[0]->a;
13
**x = r;
14
}
15
else
16
**x = **y;
17
}