喵喵小喵喵
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3292r0.html#early-escape dram 告诉的鬼故事,真可怕
分层 / Layered
Time traveling with relaxed atomics | 分层 - Layered
Several days earlier, @dram showed me this piece of C++ code from the WG21 paper P3292R0 that is “miscompiled” by both G++ and Clang++, and convinced me that it does not actually happen on RISC-V. The essence of the code is the following:
int *foo(int *q)…
int *foo(int *q)…
🥰4