From 84516c7484ef13fab518b48ad50ddd7b085d99dc Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 1 May 2026 19:40:10 +0200 Subject: [PATCH] relax assert in emitcon --- amd64/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amd64/emit.c b/amd64/emit.c index 5db5270..a757b80 100644 --- a/amd64/emit.c +++ b/amd64/emit.c @@ -199,7 +199,7 @@ emitcon(Con *con, E *e) assert(!T.apple); fprintf(e->f, "%%fs:%s%s@tpoff", p, l); } else { - assert(con->sym.type == SGlo); + assert((con->sym.type & ~SExt) == SGlo); fprintf(e->f, "%s%s", p, l); } if (con->bits.i)