diff options
| author | 2025-10-15 10:44:06 +0200 | |
|---|---|---|
| committer | 2025-10-15 10:44:06 +0200 | |
| commit | 66ffc2ae07941e00406493020579a0b695b535ee (patch) | |
| tree | 705422eed8562683fdaa15b32b0ba55f2c44c3a0 /c.c | |
| parent | e9896f1db183fefc0392273c2579c3481510f624 (diff) | |
implement long double (as double synonym). wchar_t placeholder
Diffstat (limited to 'c.c')
| -rw-r--r-- | c.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2047,9 +2047,7 @@ End: else if (arith == KDOUBLE) t = TYDOUBLE; else if (arith == (KLONG | KDOUBLE)) { - /* t = TYLDOUBLE; */ - warn(&span, "`long double' is unsupported"); - t = TYDOUBLE; + t = TYLDOUBLE; } else if (arith == KBOOL) t = TYBOOL; else if (arith == KCHAR) @@ -2697,7 +2695,7 @@ narrow(struct function *fn, enum irclass to, enum typetag tt, union ref ref, uin if (targ_primsizes[tt] < cls2siz[to]) { ins.cls = to; if (isfltt(tt)) { - assert(to == KF4 && tt == TYDOUBLE); + assert(to == KF4 && tt >= TYDOUBLE); ins.op = Ocvtf8f4; } else { static const enum op ext[5][2] = { |