PR28417, std::string no longer allows accepting nullptr_t
authorAlan Modra <amodra@gmail.com>
Tue, 19 Oct 2021 23:39:57 +0000 (10:09 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 20 Oct 2021 21:24:27 +0000 (07:54 +1030)
commit068a039b8bd7c7386bb0d88f0ae245b0fe4132e9
tree8e486ad496107538d58b7dfc2fb0e0a3c7173ae6
parentc7fdac09d919aaf86d302e6c622de6ee000c1b7c
PR28417, std::string no longer allows accepting nullptr_t

PR 28417
* incremental.cc (Sized_relobj_incr::do_section_name): Avoid
std:string undefined behaviour.
* options.h (Search_directory::Search_directory): Likewise.
gold/incremental.cc
gold/options.h