~mcf/cproc

2d2903b113c99f5202105e3915f616181b896c90 — Michael Forney 2 years ago 70a2931
Error instead of segfault when working with `long double`
1 files changed, 2 insertions(+), 0 deletions(-)

M qbe.c
M qbe.c => qbe.c +2 -0
@@ 1020,6 1020,8 @@ emitvalue(struct value *v)
static void
emitrepr(struct repr *r, bool abi, bool ext)
{
	if (!r)
		fatal("type has no QBE representation");
	if (abi && r->abi.id) {
		putchar(':');
		emitname(&r->abi);