diff -Nrcpad gcc-12-20250507/LAST_UPDATED gcc-12-20250514/LAST_UPDATED
*** gcc-12-20250507/LAST_UPDATED	Wed May  7 22:32:54 2025
--- gcc-12-20250514/LAST_UPDATED	Wed May 14 22:32:56 2025
***************
*** 1 ****
! Obtained from git: releases/gcc-12 revision 573e75f36152709a9162cdb82093e8ab69792d57
--- 1 ----
! Obtained from git: releases/gcc-12 revision 97724bfb623a2443e4dad03fa643d0e509d37e6c
diff -Nrcpad gcc-12-20250507/MD5SUMS gcc-12-20250514/MD5SUMS
*** gcc-12-20250507/MD5SUMS	Wed May  7 22:32:57 2025
--- gcc-12-20250514/MD5SUMS	Wed May 14 22:33:05 2025
***************
*** 1,5 ****
  # This file contains the MD5 checksums of the files in the
! # gcc-12-20250507.tar.xz tarball.
  #
  # Besides verifying that all files in the tarball were correctly expanded,
  # it also can be used to determine if any files have changed since the
--- 1,5 ----
  # This file contains the MD5 checksums of the files in the
! # gcc-12-20250514.tar.xz tarball.
  #
  # Besides verifying that all files in the tarball were correctly expanded,
  # it also can be used to determine if any files have changed since the
*************** d32239bcb673463ab874e80d47fae504  COPYIN
*** 21,27 ****
  fd4ecdf5d672efe2b0e409aca9cf9446  ChangeLog.jit
  09538b708302f1735f6fa05b622ecf5e  ChangeLog.tree-ssa
  24ab760126489e69436a43185dc3d202  INSTALL/README
! ad7631c6e3f08476c43d4273e736553e  LAST_UPDATED
  e854cb1e639422e089031eba0c689e15  MAINTAINERS
  5b26d0dff99e7a528342ab4d77a284df  Makefile.def
  e2f1751d40a9663c173f048c1179539e  Makefile.in
--- 21,27 ----
  fd4ecdf5d672efe2b0e409aca9cf9446  ChangeLog.jit
  09538b708302f1735f6fa05b622ecf5e  ChangeLog.tree-ssa
  24ab760126489e69436a43185dc3d202  INSTALL/README
! 6c9dee476336de669df1d902b406d189  LAST_UPDATED
  e854cb1e639422e089031eba0c689e15  MAINTAINERS
  5b26d0dff99e7a528342ab4d77a284df  Makefile.def
  e2f1751d40a9663c173f048c1179539e  Makefile.in
*************** a22e70b3f29292d0e628450f4bb11e62  fixinc
*** 471,477 ****
  a916467b91076e631dd8edb7424769c7  gcc/COPYING.LIB
  d32239bcb673463ab874e80d47fae504  gcc/COPYING3
  6a6a8e020838b23406c81b19c1d46df6  gcc/COPYING3.LIB
! f952628f69d3c3b26edbb6802df22c01  gcc/ChangeLog
  a3b63c675afa7a655cc2bfa8a907af79  gcc/ChangeLog-1997
  d9a88529352a010253c2e8fb1ed6023b  gcc/ChangeLog-1998
  240f08f81cb4699e8b49347db38233db  gcc/ChangeLog-1999
--- 471,477 ----
  a916467b91076e631dd8edb7424769c7  gcc/COPYING.LIB
  d32239bcb673463ab874e80d47fae504  gcc/COPYING3
  6a6a8e020838b23406c81b19c1d46df6  gcc/COPYING3.LIB
! 7931acd381da38eaa6a273508813d349  gcc/ChangeLog
  a3b63c675afa7a655cc2bfa8a907af79  gcc/ChangeLog-1997
  d9a88529352a010253c2e8fb1ed6023b  gcc/ChangeLog-1998
  240f08f81cb4699e8b49347db38233db  gcc/ChangeLog-1999
*************** fb3fadb88e1d2b3b640cfaaa5ff11780  gcc/Ch
*** 505,511 ****
  3eb07e0b2e542409bf73d359f7f65609  gcc/ChangeLog.ptr
  e13638e26743ba41e6011b76cc00d9a9  gcc/ChangeLog.tree-ssa
  739ab47f6425bcea1d05e4fc0542de54  gcc/ChangeLog.tuples
! a947a8660f0e995ae3e6b77a586bc04a  gcc/DATESTAMP
  d41d8cd98f00b204e9800998ecf8427e  gcc/DEV-PHASE
  eb92e1ff5e982ca07e173e0eb286d243  gcc/FSFChangeLog
  30e1e33411566388b3164558482dc5e6  gcc/FSFChangeLog.10
--- 505,511 ----
  3eb07e0b2e542409bf73d359f7f65609  gcc/ChangeLog.ptr
  e13638e26743ba41e6011b76cc00d9a9  gcc/ChangeLog.tree-ssa
  739ab47f6425bcea1d05e4fc0542de54  gcc/ChangeLog.tuples
! efdc24cc839747e0b5399cc00dc85284  gcc/DATESTAMP
  d41d8cd98f00b204e9800998ecf8427e  gcc/DEV-PHASE
  eb92e1ff5e982ca07e173e0eb286d243  gcc/FSFChangeLog
  30e1e33411566388b3164558482dc5e6  gcc/FSFChangeLog.10
*************** afc1b29624fc1932c0588c26e81bdae8  gcc/fi
*** 5548,5554 ****
  9a1908e89c4cedc23d7b8cafd6494b35  gcc/file-find.h
  d296a9fbf031636c9cbb9d90df1a55c7  gcc/file-prefix-map.cc
  d0051818c00184510e1a5cf9fd3d2233  gcc/file-prefix-map.h
! 4a9cd658f2b66c395304d1831da3d9c0  gcc/final.cc
  39766f7f0402e4710761f1aecae6a4d9  gcc/fixed-value.cc
  f7b68b5bf0105bcfb975bf6c1949ca00  gcc/fixed-value.h
  ba26be1a33461d149c9e3304d436ea94  gcc/flag-types.h
--- 5548,5554 ----
  9a1908e89c4cedc23d7b8cafd6494b35  gcc/file-find.h
  d296a9fbf031636c9cbb9d90df1a55c7  gcc/file-prefix-map.cc
  d0051818c00184510e1a5cf9fd3d2233  gcc/file-prefix-map.h
! 0a93eb9de60f4a0c64ed81f97a78feb2  gcc/final.cc
  39766f7f0402e4710761f1aecae6a4d9  gcc/fixed-value.cc
  f7b68b5bf0105bcfb975bf6c1949ca00  gcc/fixed-value.h
  ba26be1a33461d149c9e3304d436ea94  gcc/flag-types.h
diff -Nrcpad gcc-12-20250507/gcc/ChangeLog gcc-12-20250514/gcc/ChangeLog
*** gcc-12-20250507/gcc/ChangeLog	Wed May  7 22:32:09 2025
--- gcc-12-20250514/gcc/ChangeLog	Wed May 14 22:32:07 2025
***************
*** 1,3 ****
--- 1,12 ----
+ 2025-05-12  Andrew Pinski  <quic_apinski@quicinc.com>
+ 
+ 	Backported from master:
+ 	2025-01-12  Andrew Pinski  <quic_apinski@quicinc.com>
+ 
+ 	PR middle-end/118411
+ 	* final.cc (get_attr_length_1): Handle asm for CALL_INSN
+ 	and JUMP_INSNs.
+ 
  2025-05-05  John David Anglin  <danglin@gcc.gnu.org>
  
  	* config/pa/pa-linux.h (NEED_INDICATE_EXEC_STACK): Define to 1.
diff -Nrcpad gcc-12-20250507/gcc/DATESTAMP gcc-12-20250514/gcc/DATESTAMP
*** gcc-12-20250507/gcc/DATESTAMP	Wed May  7 22:32:10 2025
--- gcc-12-20250514/gcc/DATESTAMP	Wed May 14 22:32:08 2025
***************
*** 1 ****
! 20250507
--- 1 ----
! 20250514
diff -Nrcpad gcc-12-20250507/gcc/final.cc gcc-12-20250514/gcc/final.cc
*** gcc-12-20250507/gcc/final.cc	Wed May  7 22:32:12 2025
--- gcc-12-20250514/gcc/final.cc	Wed May 14 22:32:09 2025
*************** get_attr_length_1 (rtx_insn *insn, int (
*** 378,384 ****
  
        case CALL_INSN:
        case JUMP_INSN:
! 	length = fallback_fn (insn);
  	break;
  
        case INSN:
--- 378,388 ----
  
        case CALL_INSN:
        case JUMP_INSN:
! 	body = PATTERN (insn);
! 	if (GET_CODE (body) == ASM_INPUT || asm_noperands (body) >= 0)
! 	  length = asm_insn_count (body) * fallback_fn (insn);
! 	else
! 	  length = fallback_fn (insn);
  	break;
  
        case INSN:
