mirror of
https://github.com/golang/go
synced 2024-11-21 20:14:52 -07:00
parent
9e497c3656
commit
09b2de77b5
@ -129,12 +129,18 @@ complexgen(Node *n, Node *res)
|
||||
return;
|
||||
|
||||
case OREAL:
|
||||
subnode(&n1, &n2, n->left);
|
||||
cgen(&n1, res);
|
||||
return;
|
||||
|
||||
case OIMAG:
|
||||
subnode(&n1, &n2, n->left);
|
||||
nl = n->left;
|
||||
if(!nl->addable) {
|
||||
tempname(&tmp, nl->type);
|
||||
complexgen(nl, &tmp);
|
||||
nl = &tmp;
|
||||
}
|
||||
subnode(&n1, &n2, nl);
|
||||
if(n->op == OREAL) {
|
||||
cgen(&n1, res);
|
||||
return;
|
||||
}
|
||||
cgen(&n2, res);
|
||||
return;
|
||||
}
|
||||
|
@ -180,7 +180,3 @@ BUG: bug260 failed
|
||||
|
||||
=========== bugs/bug274.go
|
||||
BUG: errchk: command succeeded unexpectedly
|
||||
|
||||
=========== bugs/bug275.go
|
||||
bugs/bug275.go:17: internal compiler error: subnode not addable
|
||||
BUG should compile
|
||||
|
Loading…
Reference in New Issue
Block a user