about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-10 16:26:02 +0200
committerGitHub <noreply@github.com>2025-05-10 16:26:02 +0200
commitb8c55b438dc5df5c7f8557e9b5a4f3b308abd7f8 (patch)
tree1fc2302852e026a4c28f96fd3b9785add36032f6 /compiler/rustc_codegen_gcc
parentf28428ea5822b771ebfd04bc9b1766a657b041b2 (diff)
parent79dfd0a472c7a994bfe090cc95034b36d38e6b53 (diff)
downloadrust-b8c55b438dc5df5c7f8557e9b5a4f3b308abd7f8.tar.gz
rust-b8c55b438dc5df5c7f8557e9b5a4f3b308abd7f8.zip
Rollup merge of #140660 - RalfJung:more-order, r=WaffleLapkin
remove 'unordered' atomic intrinsics

As their doc comment already indicates, these operations do not currently have a place in our memory model. The intrinsics were introduced to support a hack in compiler-builtins, but that hack recently got removed (see https://github.com/rust-lang/compiler-builtins/issues/788).
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/builder.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/builder.rs b/compiler/rustc_codegen_gcc/src/builder.rs
index 6720f6186d1..9e5ebf3a9a4 100644
--- a/compiler/rustc_codegen_gcc/src/builder.rs
+++ b/compiler/rustc_codegen_gcc/src/builder.rs
@@ -2454,7 +2454,6 @@ impl ToGccOrdering for AtomicOrdering {
         use MemOrdering::*;
 
         let ordering = match self {
-            AtomicOrdering::Unordered => __ATOMIC_RELAXED,
             AtomicOrdering::Relaxed => __ATOMIC_RELAXED, // TODO(antoyo): check if that's the same.
             AtomicOrdering::Acquire => __ATOMIC_ACQUIRE,
             AtomicOrdering::Release => __ATOMIC_RELEASE,