Mitigate stack exhaustion when printing a very deeply nested term.
Fix heap buffer overflow in tokenadd()
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
There is a gcc related bug that causes the following issue on MIPS:
Assertion failed: jv_get_kind(a) == JV_KIND_STRING (jv.c: jvp_string_ptr: 435)
This patch will disable SRA optimizations on MIPS platform and prevent
the above issue.
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>