summary refs log tree commit diff
path: root/lisc/isel.c
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/isel.c')
-rw-r--r--lisc/isel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisc/isel.c b/lisc/isel.c
index a018cd5..80bdae7 100644
--- a/lisc/isel.c
+++ b/lisc/isel.c
@@ -514,6 +514,8 @@ selcall(Fn *fn, Ins *i0, Ins *i1)
 		if (a->inmem)
 			continue;
 		if (i->op == OArgc) {
+			if (a->rty[0] == RSse || a->rty[1] == RSse)
+				diag("isel: unsupported float struct");
 			if (a->size > 8) {
 				r = TMP(ireg[ni+1]);
 				r1 = newtmp(fn);