Re: [compare-debug] use call loc for nop_endbr

2017-12-19 Thread Alexandre Oliva
On Dec 15, 2017, "Tsimbalist, Igor V" wrote: > Please give more info. I do not remember all details but PLT entries > were changes to have endbr instruction (if this is relevant to your question > :). Yeah, that was this was about. Good to know it's covered. Thanks! -- Alexandre Oliva, free

Re: [compare-debug] use call loc for nop_endbr

2017-12-15 Thread H.J. Lu
On Fri, Dec 15, 2017 at 7:17 AM, Tsimbalist, Igor V wrote: >> -Original Message- >> From: Alexandre Oliva [mailto:aol...@redhat.com] >> Sent: Thursday, December 14, 2017 7:37 PM >> To: Tsimbalist, Igor V >> Cc: gcc-patches@gcc.gnu.org >> Subject:

RE: [compare-debug] use call loc for nop_endbr

2017-12-15 Thread Tsimbalist, Igor V
> -Original Message- > From: Alexandre Oliva [mailto:aol...@redhat.com] > Sent: Thursday, December 14, 2017 7:37 PM > To: Tsimbalist, Igor V > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [compare-debug] use call loc for nop_endbr > > On Dec 14, 2017, &qu

Re: [compare-debug] use call loc for nop_endbr

2017-12-14 Thread Alexandre Oliva
On Dec 14, 2017, "Tsimbalist, Igor V" wrote: >> Regstrapping with -fcompare-debug on stage3 host and target builds on >> x86_64- and i686-linux-gnu; ok to install? > Ok from me. Thanks, I went ahead and installed it. > Am I correct the error you had was related to improper location information

RE: [compare-debug] use call loc for nop_endbr

2017-12-14 Thread Tsimbalist, Igor V
> -Original Message- > From: Alexandre Oliva [mailto:aol...@redhat.com] > Sent: Wednesday, December 13, 2017 8:34 AM > To: gcc-patches@gcc.gnu.org > Cc: Tsimbalist, Igor V > Subject: [compare-debug] use call loc for nop_endbr > > We skip debug insns and notes a

Re: [compare-debug] use call loc for nop_endbr

2017-12-13 Thread Jakub Jelinek
On Wed, Dec 13, 2017 at 05:34:22AM -0200, Alexandre Oliva wrote: > We skip debug insns and notes after a call that needs a nop_endbr, but > since a debug insn could be the last in a block, it may affect the loc > in the emitted nop_endbr insn. Although this has no effect on > codegen, it does mess

[compare-debug] use call loc for nop_endbr

2017-12-12 Thread Alexandre Oliva
We skip debug insns and notes after a call that needs a nop_endbr, but since a debug insn could be the last in a block, it may affect the loc in the emitted nop_endbr insn. Although this has no effect on codegen, it does mess with debug info a bit, and it causes -fcompare-debug to fail for e.g. li