I got the same result.
error: use of undeclared label 'BeforeRet_'
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
^
1 error generated.
Run
It seems that ARC/ORC will check the error flag, even if nothing to raise.
However, the compilation of C code does not fail if the memory strategy is not
ARC/ORC, or if `-fopenmp` is not passed to the C compiler, or if `--exceptions`
is not `goto`. So I think the codegen was correct, but with OpenMP, it cannot
jump out of the `for` block. The `BeforeRet_` does exist, but not in the `for`
block, so it cannot be reached.