aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphclones.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-10-29 17:14:55 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-10-29 17:14:55 +0000
commit0ed4d40833715b0650e9ed4d561ca9ea0dacf2b1 (patch)
tree2763bec9a60a4b43faf8f43d5a42e922803b59d5 /gcc/cgraphclones.c
parent668ca0509c74782ace9449ccb6605a6dddeec338 (diff)
downloadgcc-0ed4d40833715b0650e9ed4d561ca9ea0dacf2b1.zip
gcc-0ed4d40833715b0650e9ed4d561ca9ea0dacf2b1.tar.gz
gcc-0ed4d40833715b0650e9ed4d561ca9ea0dacf2b1.tar.bz2
PR libstdc++/92267 fix ABI change in deque iterators
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
Diffstat (limited to 'gcc/cgraphclones.c')
0 files changed, 0 insertions, 0 deletions