This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug jit/64722] On 2nd time libgccjit is run in-process on i686, generated code clobbers %ebx register


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64722

--- Comment #12 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Fri Jan 23 15:57:42 2015
New Revision: 220044

URL: https://gcc.gnu.org/viewcvs?rev=220044&root=gcc&view=rev
Log:
PR jit/64722: fix corruption of %ebx on 32-bit i386 with libgccjit

gcc/ChangeLog:
    PR jit/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).

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/emit-rtl.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]