libstdc++: Fix errors in <experimental/internet>
authorJonathan Wakely <jwakely@redhat.com>
Fri, 12 Feb 2021 13:01:20 +0000 (13:01 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 12 Feb 2021 14:30:14 +0000 (14:30 +0000)
commit970ba719250ec06767e0617658bb92a64fde0f3f
tree9ab015114797f6715c266a78816f2a8f28661d81
parent87eaa3c525eb65775e6d77403b83a273a2397099
libstdc++: Fix errors in <experimental/internet>

libstdc++-v3/ChangeLog:

* include/experimental/internet (address_v6::any): Avoid using
memcpy in constexpr function.
(address_v6::loopback): Likewise.
(make_address_v6): Fix missing return statements on error paths.
* include/experimental/io_context: Avoid -Wdangling-else
warning.
* testsuite/experimental/net/internet/address/v4/members.cc:
Remove unused variables.
* testsuite/experimental/net/internet/address/v6/members.cc:
New test.
libstdc++-v3/include/experimental/internet
libstdc++-v3/include/experimental/io_context
libstdc++-v3/testsuite/experimental/net/internet/address/v4/members.cc
libstdc++-v3/testsuite/experimental/net/internet/address/v6/members.cc [new file with mode: 0644]