[Bug target/122000] [13/14/15/16 Regression] __sync_add_and_fetch(long long) on armv7a ignores the lower 32 bits

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 15 06:11:17 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122000

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:0d05847c61d8239e81e06f71739f85d95540a34f

commit r14-12421-g0d05847c61d8239e81e06f71739f85d95540a34f
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Fri Mar 6 14:33:19 2026 +0100

    testsuite: Add testcase for already fixed PR [PR122000]

    This testcase started to be miscompiled with my r15-9131 change
    on arm with -march=armv7-a -mfpu=vfpv4 -mfloat-abi=hard -O and got
    fixed with r16-6548 PR121773 change.

    2026-03-06  Jakub Jelinek  <jakub@redhat.com>

            PR target/122000
            * gcc.c-torture/execute/pr122000.c: New test.

    (cherry picked from commit 2365f48836d71301450cbf4204fe006522582d7d)


More information about the Gcc-bugs mailing list