Re: [PATCH] final: Fix get_attr_length for asm goto [PR118411]

2025-01-11 Thread Jeff Law
On 1/11/25 2:20 PM, Jakub Jelinek wrote: On Sat, Jan 11, 2025 at 01:52:59AM -0800, Andrew Pinski wrote: The problem is for inline-asm goto, the outer rtl insn type is a jump_insn and get_attr_length does not handle ASM specially unlike if the outer rtl insn type was just insn. This fixes the

Re: [PATCH] final: Fix get_attr_length for asm goto [PR118411]

2025-01-11 Thread Jakub Jelinek
On Sat, Jan 11, 2025 at 01:52:59AM -0800, Andrew Pinski wrote: > The problem is for inline-asm goto, the outer rtl insn type > is a jump_insn and get_attr_length does not handle ASM specially > unlike if the outer rtl insn type was just insn. > > This fixes the issue by adding support for both CAL

Re: [PATCH] final: Fix get_attr_length for asm goto [PR118411]

2025-01-11 Thread Jeff Law
On 1/11/25 2:08 PM, Andrew Pinski (QUIC) wrote: -Original Message- From: Jeff Law Sent: Saturday, January 11, 2025 8:12 AM To: Andrew Pinski (QUIC) ; gcc- patc...@gcc.gnu.org Subject: Re: [PATCH] final: Fix get_attr_length for asm goto [PR118411] On 1/11/25 2:52 AM, Andrew Pinski

RE: [PATCH] final: Fix get_attr_length for asm goto [PR118411]

2025-01-11 Thread Andrew Pinski (QUIC)
> -Original Message- > From: Jeff Law > Sent: Saturday, January 11, 2025 8:12 AM > To: Andrew Pinski (QUIC) ; gcc- > patc...@gcc.gnu.org > Subject: Re: [PATCH] final: Fix get_attr_length for asm goto > [PR118411] > > > > On 1/11/25 2:52 AM, Andrew Pin

Re: [PATCH] final: Fix get_attr_length for asm goto [PR118411]

2025-01-11 Thread Jeff Law
On 1/11/25 2:52 AM, Andrew Pinski wrote: The problem is for inline-asm goto, the outer rtl insn type is a jump_insn and get_attr_length does not handle ASM specially unlike if the outer rtl insn type was just insn. This fixes the issue by adding support for both CALL_INSN and JUMP_INSN with a