gcc: Fix wrong code generation in atomic intrinsics for arm
PATCH v2 1/1 gcc: Fix wrong code generation in atomic intrinsics for arm
From: Jeroen Hofstee <[email protected]>
This is seen with QT code
Error: ARM register expected -- `ldrex r1,[s16]'
---
v2: Combine, sign-offs into single patch and keep patch numbering in order
meta/recipes-devtools/gcc/gcc-15.1.inc | 1 + ...-validate-mem_noofs_operand-PR120351.patch | 95 +++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc/0026-arm-fully-validate-mem_noofs_operand-PR120351.patch
meta/recipes-devtools/gcc/gcc-15.1.inc +1 -0
@@ -69,6 +69,7 @@ SRC_URI = "${BASEURI} \ file://0023-Fix-install-path-of-linux64.h.patch \ file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \ file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ + file://0026-arm-fully-validate-mem_noofs_operand-PR120351.patch \ " S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${SOURCEDIR}"
meta/recipes-devtools/gcc/gcc/0026-arm-fully-validate-mem_noofs_operand-PR120351.patch new file +95 -0
95 lines not on this page · raw message
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Everyone,
I'd like to share an update regarding PR120351<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351>.
- Sam James (GCC Contributor) confirmed that while the issue is theoretically present, but it doesn't affect GCC-14 & GCC-13 in practice.
- Manual testing on both GCC versions showed no observable issues.
- Conclusion: No backport is needed for the older GCC stable releases.
Thank you.
Regards,
~Sunil Dora
________________________________
Subject:
[OE-core] [PATCH v2] gcc: Fix wrong code generation in atomic intrinsics for arm
Resent-Date:
Mon, 19 May 2025 11:30:33 -0700
Resent-From:
[email protected]<mailto:[email protected]>
Date:
Mon, 19 May 2025 11:30:29 -0700
From:
Khem Raj via lists.openembedded.org <[email protected]><mailto:[email protected]> Reply-To:
[email protected]<mailto:[email protected]>
To:
[email protected]<mailto:[email protected]>
CC:
Jeroen Hofstee <[email protected]><mailto:[email protected]>, Khem Raj <[email protected]><mailto:[email protected]>
From: Jeroen Hofstee <[email protected]><mailto:[email protected]>
This is seen with QT code
Error: ARM register expected -- `ldrex r1,[s16]'
---
v2: Combine, sign-offs into single patch and keep patch numbering in order
meta/recipes-devtools/gcc/gcc-15.1.inc | 1 + ...-validate-mem_noofs_operand-PR120351.patch | 95 +++++++++++++++++++
2 files changed, 96 insertions(+)
create mode 100644 meta/recipes-devtools/gcc/gcc/0026-arm-fully-validate-mem_noofs_operand-PR120351.patch
meta/recipes-devtools/gcc/gcc-15.1.inc +0 -0
@@ -69,6 +69,7 @@ SRC_URI = "${BASEURI} \
file://0023-Fix-install-path-of-linux64.h.patch \
file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \
file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \
+ file://0026-arm-fully-validate-mem_noofs_operand-PR120351.patch \
"
S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${SOURCEDIR}"
meta/recipes-devtools/gcc/gcc/0026-arm-fully-validate-mem_noofs_operand-PR120351.patch new file +93 -0
93 lines not on this page · raw message