)]}'
{
  "commit": "53f44e2c5fccf31bd0b4e356d5f09a0e0919579d",
  "tree": "cb4068e0ef72e00c41dac67e0400be4e9e584420",
  "parents": [
    "13a6f9865aa6d938389a8361159b32a715d072f1"
  ],
  "author": {
    "name": "Jakub Jelinek",
    "email": "jakub@redhat.com",
    "time": "Tue Aug 04 21:41:16 2026 +0200"
  },
  "committer": {
    "name": "Jakub Jelinek",
    "email": "jakub@gcc.gnu.org",
    "time": "Fri Aug 07 10:38:30 2026 +0200"
  },
  "message": "testsuite: Fix up gcc.dg/torture/bitint-100.c test [PR124948]\n\nOn Mon, Aug 03, 2026 at 01:56:35PM +0200, Torbjorn SVENSSON wrote:\n\u003e On 2026-08-03 13:54, Jakub Jelinek wrote:\n\u003e \u003e On Mon, Aug 03, 2026 at 01:50:18PM +0200, Torbjorn SVENSSON wrote:\n\u003e \u003e \u003e This change introduces new failures for arm-none-eabi using thumb/arch\u003darmv6s-m/cpu\u003dcortex-m0/float-abi\u003dsoft/fpu\u003dauto.\n\u003e \u003e \u003e\n\u003e \u003e \u003e bitint-100.c:(.text+0x5a): undefined reference to `__atomic_compare_exchange_4\u0027\n\u003e \u003e \u003e /build/install-native/arm-none-eabi/bin/ld: (__atomic_compare_exchange_4): Unknown destination type (ARM/Thumb) in /tmp/ccgSaSgH.o\n\u003e \u003e \u003e FAIL: gcc.dg/torture/bitint-100.c   -O0  (test for excess errors)\n\u003e \u003e \u003e\n\u003e \u003e \u003e Same failure exist on both trunk and releases/gcc-16.\n\u003e \u003e\n\u003e \u003e I thought gcc has been changed to add -latomic_asneeded by default.\n\u003e \u003e Or is this because the linker doesn\u0027t support it in this configuration?\n\u003e To my knowledge, there is no atomic support for armv6s-m, but I can be wrong.\n\nMost of the tests that are dg-do run and use atomics on int/long use\nsync_int_long effective target.  Atomics on _BitInt(17), i.e. something\non all currently supported targets larger than short, probably need to be\ntreated the same.\n\n2026-08-04  Jakub Jelinek  \u003cjakub@redhat.com\u003e\n\n\tPR target/124948\n\t* gcc.dg/torture/bitint-100.c: Require also sync_int_long effective\n\ttarget.\n\nReviewed-by: Andrea Pinski \u003candrew.pinski@oss.qualcomm.com\u003e\n(cherry picked from commit 17d0df5cdb1b2983481612e4e454f659bc5ff738)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4c6e781777c729444dded146c93487d89d6745e2",
      "old_mode": 33188,
      "old_path": "gcc/testsuite/gcc.dg/torture/bitint-100.c",
      "new_id": "b9a75db67aaf5a9c58c537b2ea329544fc5cc67b",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.dg/torture/bitint-100.c"
    }
  ]
}
