PR jit/64722: fix corruption of %ebx on 32-bit i386 with libgccjit
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 23 Jan 2015 15:57:42 +0000 (15:57 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 23 Jan 2015 15:57:42 +0000 (15:57 +0000)
commitca72dad54a775cbcf4be545feb1f5575e064387a
tree253a2c407cf9c43d2e42db2d15827104a9d1af1d
parent130dc027c52c4636f42cac6296bc0841ec021f39
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).

From-SVN: r220044
gcc/ChangeLog
gcc/emit-rtl.c