don't error on unknown fill when not overtaking

This commit is contained in:
dzaima 2022-12-27 23:44:34 +02:00
parent bcfcbb0813
commit 33580b91ca
2 changed files with 4 additions and 2 deletions

View File

@ -67,7 +67,8 @@ x86-64 (Linux):
x86 (Linux): x86 (Linux):
clang 14.0.0; known to break on gcc - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416 clang 14.0.0; known to break on gcc - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416
running on the above x86-64 system, compiled with CCFLAGS=-m32 running on the above x86-64 system, compiled with CCFLAGS=-m32
AArch64 ARMv8-A (within Termux on Android): AArch64 ARMv8-A (within Termux on Android 8):
using a `lf=-landroid-spawn` make arg after `pkg install libandroid-spawn` to get •SH to work
clang 15.0.4 clang 15.0.4
libffi 3.4.4 (structs were broken as of 3.4.3) libffi 3.4.4 (structs were broken as of 3.4.3)
replxx: clang++ 15.0.4 replxx: clang++ 15.0.4

View File

@ -519,7 +519,8 @@ static NOINLINE B takedrop_highrank(bool take, B w, B x) {
r = taga(ra); r = taga(ra);
} else { // printf("generic\n"); } else { // printf("generic\n");
MAKE_MUT(rm, ria); mut_init(rm, TI(x,elType)); MAKE_MUT(rm, ria); mut_init(rm, TI(x,elType));
B xf = getFillE(x); B xf = getFillR(x);
if (anyFill && noFill(xf)) thrM("↑: fill element required for overtaking, but 𝕩 doesn't have one");
MUTG_INIT(rm); MUTG_INIT(rm);
if (IA(x)==0) { if (IA(x)==0) {