PR libstdc++/67554 Do not pass null pointers to memcpy
authorJonathan Wakely <jwakely@redhat.com>
Mon, 14 May 2018 15:35:06 +0000 (16:35 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 14 May 2018 15:35:06 +0000 (16:35 +0100)
commit6bfbebb063100f6ab845a8456fc7fec99361da80
treeca6814e6e58a7b580db228d60d76bb17ba9ac995
parent9f613f06b0da4b11cde815351df31ad74e22f449
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.

From-SVN: r260229
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/valarray_array.h