llvm / llvm/llvm-project

LWG4552: `compare_exchange_weak` writes a value on spurious failure, not memory contents

Open
#189,880 0 comments 0 reactions 0 assignees View on GitHub
c++26 libc++ lwg-issue
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

**Link:** https://wg21.link/LWG4552

Contributor guide

Open the contributing guide

Research direction

Begin with the linked LWG4552 specification issue and determine its requested behavior for compare_exchange_weak. The issue does not identify a source file, test, or expected implementation change; completion criteria must come from the linked wording and repository investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.