diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-11-09 20:14:07 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-11-09 20:14:07 +0000 |
commit | 213fd71709e40dbcf601f765e80a56b1c624e4a8 (patch) | |
tree | 532eb077ffff67fdf71a4b61f0dfeb105e04dbae /gcc | |
parent | fcc499722be30b540eb1c163bfe39d23c9164ae0 (diff) | |
download | gcc-213fd71709e40dbcf601f765e80a56b1c624e4a8.zip gcc-213fd71709e40dbcf601f765e80a56b1c624e4a8.tar.gz gcc-213fd71709e40dbcf601f765e80a56b1c624e4a8.tar.bz2 |
PR libstdc++/87787 fix UBsan error in std::vector
PR libstdc++/87787
* include/bits/stl_uninitialized.h (__relocate_a_1): Do not call
memmove when there's nothing to copy (and pointers could be null).
From-SVN: r265984
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions