Re: [PATCH, i386] Never fix register for PIC when pseudo PIC reg is used

2015-01-29 Thread Uros Bizjak
On Thu, Jan 29, 2015 at 12:27 PM, Ilya Enkovich wrote: > On 29 Jan 09:50, Uros Bizjak wrote: >> On Thu, Jan 29, 2015 at 9:13 AM, Uros Bizjak wrote: >> >> >>> Currently ix86_conditional_register_usage code may mark EBX as a fixed >> >>> register if it is called >> >>> when pic_offset_table_rtx is

Re: [PATCH, i386] Never fix register for PIC when pseudo PIC reg is used

2015-01-29 Thread Jakub Jelinek
On Thu, Jan 29, 2015 at 02:27:30PM +0300, Ilya Enkovich wrote: > Thank you for review! Here is an updated version with proposed changes. > Bootstrapped and tested on x86_64-unknown-linux-gnu. OK for trunk? > > Thanks, > Ilya > -- > 2015-01-29 Ilya Enkovich Perhaps mention Uros as co-author

Re: [PATCH, i386] Never fix register for PIC when pseudo PIC reg is used

2015-01-29 Thread Ilya Enkovich
On 29 Jan 09:50, Uros Bizjak wrote: > On Thu, Jan 29, 2015 at 9:13 AM, Uros Bizjak wrote: > > >>> Currently ix86_conditional_register_usage code may mark EBX as a fixed > >>> register if it is called > >>> when pic_offset_table_rtx is NULL even if we are going to use pseudo PIC > >>> register.

Re: [PATCH, i386] Never fix register for PIC when pseudo PIC reg is used

2015-01-29 Thread Uros Bizjak
On Thu, Jan 29, 2015 at 9:13 AM, Uros Bizjak wrote: >>> Currently ix86_conditional_register_usage code may mark EBX as a fixed >>> register if it is called >>> when pic_offset_table_rtx is NULL even if we are going to use pseudo PIC >>> register. It already >>> caused some problem in combinati

Re: [PATCH, i386] Never fix register for PIC when pseudo PIC reg is used

2015-01-29 Thread Uros Bizjak
On Wed, Jan 28, 2015 at 5:03 PM, Uros Bizjak wrote: > Hello! > >> Currently ix86_conditional_register_usage code may mark EBX as a fixed >> register if it is called >> when pic_offset_table_rtx is NULL even if we are going to use pseudo PIC >> register. It already >> caused some problem in comb

Re: [PATCH, i386] Never fix register for PIC when pseudo PIC reg is used

2015-01-28 Thread Uros Bizjak
Hello! > Currently ix86_conditional_register_usage code may mark EBX as a fixed > register if it is called > when pic_offset_table_rtx is NULL even if we are going to use pseudo PIC > register. It already > caused some problem in combination with another issue (PR jit/64722). This > patch wil

[PATCH, i386] Never fix register for PIC when pseudo PIC reg is used

2015-01-28 Thread Ilya Enkovich
Hi, Currently ix86_conditional_register_usage code may mark EBX as a fixed register if it is called when pic_offset_table_rtx is NULL even if we are going to use pseudo PIC register. It already caused some problem in combination with another issue (PR jit/64722). This patch will probably help