PR libstdc++/67554 Do not pass null pointers to memcpy
commit62ca663518dba30d642f0ce207c794a46211cd89
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 May 2018 15:35:06 +0000 (14 15:35 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 May 2018 15:35:06 +0000 (14 15:35 +0000)
treeca6814e6e58a7b580db228d60d76bb17ba9ac995
parent90ad495b3117f4fd3d7b2bf74a4da82c6c7aabb3
PR libstdc++/67554 Do not pass null pointers to memcpy

PR libstdc++/67554
* include/bits/valarray_array.h (_Array_copy_ctor<_Tp, true>)
(_Array_copier<_Tp, true>): Do not pass null pointers to memcpy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260229 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/valarray_array.h