diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-05-16 21:30:27 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-05-16 21:30:27 +0100 |
commit | b62dcd16aa033968075f19631c757bb39a16ef92 (patch) | |
tree | 93b75bd835ebd1d7f85113f2a4f6334b4d87f0de /gcc/tree-vect-loop-manip.c | |
parent | 5120e0d8d48f4590a275e60565de6c5a4e772fc1 (diff) | |
download | gcc-b62dcd16aa033968075f19631c757bb39a16ef92.zip gcc-b62dcd16aa033968075f19631c757bb39a16ef92.tar.gz gcc-b62dcd16aa033968075f19631c757bb39a16ef92.tar.bz2 |
Changes to std::variant to reduce code size
* include/std/variant (_Variant_storage<false, _Types...>::_M_reset):
Replace raw visitation with a runtime check for the valueless state
and a non-raw visitor.
(_Variant_storage<false, _Types...>::_M_reset_impl): Remove.
(variant::index()): Remove branch.
(variant::swap(variant&)): Use valueless_by_exception() instead of
comparing the index to variant_npos, and add likelihood attribute.
From-SVN: r271295
Diffstat (limited to 'gcc/tree-vect-loop-manip.c')
0 files changed, 0 insertions, 0 deletions