ref: 1f99d2dc0f2e8afe604bfe777063b4f2e277e185
parent: be069342ca8397d91cc6fba3b22f7c353370f2af
author: Ori Bernstein <ori@markovcorp.com>
date: Sun May 14 08:54:51 EDT 2017
Types based off of void *also* have no storage.
--- a/6/simp.c
+++ b/6/simp.c
@@ -1282,7 +1282,7 @@
s->isbigret = 1;
s->ret = gentemp(f->loc, mktyptr(f->loc, ty), &dcl);
declarearg(s, dcl);
- } else if (ty->type != Tyvoid) {
+ } else if (tybase(ty)->type != Tyvoid) {
s->isbigret = 0;
s->ret = gentemp(f->loc, ty, &dcl);
}