https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103086

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk so far.

The fix needs to be backported to gcc-11 because std::tuple uses
[[no_unique_address]] there, so the bug is present.

I think it's also present on older branches, but would only show up for a
unique_ptr with a non-empty pointer and non-empty deleter. I don't think we
test that, but I will check if it fails with GDB 11 and backport the fix if
needed.

Reply via email to