Defaulting the copy constructor on its first declaration made it change from user-provided (and non-trivial) to implicitly-defined (and trivial). This caused an ABI incompatibility between GCC 8 and GCC 9, where functions taking a deque iterator disagree on the argument passing convention. PR libstdc++/92267 * include/bits/stl_deque.h (_Deque_iterator(const _Deque_iterator&)): Do not define as defaulted. * testsuite/23_containers/deque/types/92267.cc: New test. From-SVN: r277577
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
allocator | Loading commit data... | |
capacity | Loading commit data... | |
cons | Loading commit data... | |
debug | Loading commit data... | |
modifiers | Loading commit data... | |
operators | Loading commit data... | |
requirements | Loading commit data... | |
types | Loading commit data... | |
14340.cc | Loading commit data... | |
18604.cc | Loading commit data... | |
48101-2_neg.cc | Loading commit data... | |
48101-3_neg.cc | Loading commit data... | |
48101_neg.cc | Loading commit data... | |
58764.cc | Loading commit data... | |
92124.cc | Loading commit data... | |
check_construct_destroy.cc | Loading commit data... | |
erasure.cc | Loading commit data... | |
init-list.cc | Loading commit data... | |
range_access.cc | Loading commit data... |