From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 83F2F3858D28; Mon, 26 Feb 2024 12:21:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83F2F3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708950077; bh=wdt3ckfQuQkVtn4LtzHuQAlfH1CfmhewvuIQaJ+c5yY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lmDCg5Ql/iMsDpHgdsdOGwC8E/9Aw2I1RG/mdQoGnbnD6CW5uSWl9JBTOCEa2EmUD zA71eBG9ZloCLW9VwPGP4xruZ691UnbzTF7a8rygnlQeclaOA/QVKORbUAyzyfupzv DfGQB7vbLCN4+xOcuMJmquxJXIb2Q49EJiuNEBhA= From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/114103] FAIL: 29_atomics/atomic/lock_free_aliases.cc -std=gnu++20 (test for excess errors) Date: Mon, 26 Feb 2024 12:21:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114103 --- Comment #4 from dave.anglin at bell dot net --- On 2024-02-26 5:54 a.m., redi at gcc dot gnu.org wrote: > I assume the problem is that the ATOMIC_xxx_LOCK_FREE macros have value 1= not > 2, so they're not unconditionally lock-free. > > Are any of the atomic integer types always lock-free for this target? No.=C2=A0 The only "lock free" operations are load and clear word/double wo= rd. On linux, we fudge the support in the kernel where we can disable interrupts but the operation still can spin.=