On Thu, Jan 22, 2015 at 12:34:37PM -0500, David Malcolm wrote:
> Much of the jit testsuite currently segfaults on i686, after
> two in-process iterations. In odd-numbered iterations,
> gcc_jit_context_compile generates correct code, but on
> even-numbered iterations, the generated code trashes the
On 01/22/2015 09:34 AM, David Malcolm wrote:
> gcc/ChangeLog:
> PR 64722
> * emit-rtl.c (init_emit_regs): Set pic_offset_table_rtx to
> NULL_RTX before testing PIC_OFFSET_TABLE_REGNUM, since the
> latter may be affected by the former (e.g. on i686).
Ok.
r~
Much of the jit testsuite currently segfaults on i686, after
two in-process iterations. In odd-numbered iterations,
gcc_jit_context_compile generates correct code, but on
even-numbered iterations, the generated code trashes the
%ebx register, leading to SIGSEGV back at the call site when
setting u