From 19b86179f6a3e165c2c5c312130150ecfaca1efe Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 2 Sep 2021 12:05:05 -0700 Subject: qbe: Error on use of long double rather than trigger assertion --- qbe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qbe.c b/qbe.c index c231095..df363c2 100644 --- a/qbe.c +++ b/qbe.c @@ -202,6 +202,7 @@ qbetype(struct type *t) case 2: return t->basic.issigned ? sh : uh; case 4: return t->prop & PROPFLOAT ? s : w; case 8: return t->prop & PROPFLOAT ? d : l; + case 16: fatal("long double is not yet supported"); } assert(0); } -- cgit v1.2.3