--- Comment #1 from James Cowgill <jcowgill+e...@jcowgill.uk> ---
I think I know what the problem is.
The pcre2 jit code has some functions which return flags instead of a specific
value (eg anynewline). The bug is that the MIPS jit compiler uses the same
register for the zero flag as it does for the return address. When returning
from a "fast" function, the return address register is unconditionally
overwritten which will clobber the zero flag.
I've attached a simple fix which reserves an extra register for the zero flag
which seems to work. I don't think this is too bad because mips has a lot of
registers available anyway. While debugging this I added a test case to sljit's
testsuite which I've also attached (obviously this is not relevant to pcre2).
You are receiving this mail because:
You are on the CC list for the bug.
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev