It would appear that these tests fail for clang-11. See the CI and Compiler Explorer. This was exposed while testing D66262.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/test/libcxx/memory/trivial_abi/unique_ptr_arg.pass.cpp | ||
---|---|---|
15 | Can you update this comment in all modified tests? |
It seems to me like the most likely issue is just that D66262 breaks these tests -- is that possible?
Because our CI is using Clang 11.0.1, and it hasn't been failing because of this so far AFAICT.
It seems to me like the most likely issue is just that D66262 breaks these tests -- is that possible?
That's what I originally thought (because that's the only patch causing CI failures). But check out the Godbolt link in the description, it also fails there which makes me think maybe it's unrelated.
Is it possible that the difference lies between 11.0.0 (your godbolt link) and 11.0.1 (the CI)?
Is it possible that the difference lies between 11.0.0 (your godbolt link) and 11.0.1 (the CI)?
Godbolt also fails on trunk, it would be odd (but not impossible) for it to be fixed only for 11.0.1 and then broken again for trunk. Also, that patch that's failing is a super small change, it seems very unlikely that it is responsible for the failures.
It doesn't fail on trunk when you actually use libc++! https://godbolt.org/z/af66T1
Clang on Godbolt uses libstdc++ by default (probably because it runs on some Unix).
Ah, you're right! I always forget. So it might be resolved in 11.0.1. I'll pull down the Docker image and do a full investigation :)
Can you update this comment in all modified tests?