https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118411
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>: https://gcc.gnu.org/g:102e10f0221150218e7ee61b47e42b50653052ae commit r14-11766-g102e10f0221150218e7ee61b47e42b50653052ae Author: Andrew Pinski <quic_apin...@quicinc.com> Date: Fri Jan 10 20:04:09 2025 -0800 final: Fix get_attr_length for asm goto [PR118411] 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 asm. OK? Bootstrapped and tested on x86_64-linux-gnu. PR middle-end/118411 gcc/ChangeLog: * final.cc (get_attr_length_1): Handle asm for CALL_INSN and JUMP_INSNs. Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com> (cherry picked from commit c1729df6ec1eff4815a9cdd71392691ce21da028)