[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 22 05:21:54 GMT 2026


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

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

https://gcc.gnu.org/g:17445ee86d3d5d41b84500f776a6347967f643e0

commit r13-10214-g17445ee86d3d5d41b84500f776a6347967f643e0
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