3 ms·
Some of those cases have been fixed. For example, Clang used to reorder UB around volatile loads, but the latest version no longer does so.
by Georgelemental 2mo ago
Some of those cases have been fixed. For example, Clang used to reorder UB around volatile loads, but the latest version no longer does so.
- uecker 2mo agoThis is good news! Clang representatives were very basically the only ones against this clarification. Do you have a pointer?
- Georgelemental 2mo agohttps://llvm.org/docs/LangRef.html#volatile-memory-accesses https://llvm.org/docs/LangRef.html#volatile-memory-accesses: > Volatile operations are permitted to trap. The compiler may not assume that execution will continue after a volatile operation.