Commit 10296166 authored by Ken Thompson's avatar Ken Thompson

bug in returning a fat function result

SVN=124436
parent 1bef250f
...@@ -694,12 +694,7 @@ cgen_aret(Node *n, Node *res) ...@@ -694,12 +694,7 @@ cgen_aret(Node *n, Node *res)
nod1.xoffset = fp->width; nod1.xoffset = fp->width;
nod1.type = fp->type; nod1.type = fp->type;
memset(&nod2, 0, sizeof(nod2)); gins(ALEAQ, &nod1, res);
nod2.op = OADDR;
nod2.left = &nod1;
nod2.addable = 1;
cgen_as(res, &nod2, 0);
} }
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment