[libcxx-commits] [libcxx] [libc++] Diagnoses insufficiently aligned pointers for std::assume_aligned during constant evaluation (PR #73775)
Rajveer Singh Bharadwaj via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Dec 23 02:04:00 PST 2023
Rajveer100 wrote:
<details><summary>Details</summary>
<p>
```
# .---command stderr------------
# | error: 'note' diagnostics expected but not seen:
# | File .../libcxx/test/libcxx/utilities/memory/ptr.align/assume_aligned.const_eval.verify.cpp Line 22: alignment of the base pointee object (1 byte) is less than the asserted 2 bytes
# | File .../libcxx/test/libcxx/utilities/memory/ptr.align/assume_aligned.const_eval.verify.cpp Line 24: alignment of the base pointee object (1 byte) is less than the asserted 2 bytes
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
********************
********************
Failed Tests (1):
llvm-libc++-shared.cfg.in :: libcxx/utilities/memory/ptr.align/assume_aligned.const_eval.verify.cpp
```
</p>
</details>
https://github.com/llvm/llvm-project/pull/73775
More information about the libcxx-commits
mailing list