diff options
author | Matthias Kretz <m.kretz@gsi.de> | 2023-01-13 16:20:36 +0100 |
---|---|---|
committer | Matthias Kretz <m.kretz@gsi.de> | 2023-02-16 15:58:33 +0100 |
commit | fea34ee491104f325682cc5fb75683b7d74a0a3b (patch) | |
tree | ec55aa58014371348f525117f550f6fcb53bc7c0 /gcc | |
parent | feff71e035c2948c3e4cbcc06adf1ed633e3bd50 (diff) | |
download | gcc-fea34ee491104f325682cc5fb75683b7d74a0a3b.zip gcc-fea34ee491104f325682cc5fb75683b7d74a0a3b.tar.gz gcc-fea34ee491104f325682cc5fb75683b7d74a0a3b.tar.bz2 |
libstdc++: Ensure __builtin_constant_p isn't lost on the way
The more expensive code path should only be taken if it can be optimized
away.
Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
libstdc++-v3/ChangeLog:
* include/experimental/bits/simd.h
(_SimdWrapper::_M_is_constprop_none_of)
(_SimdWrapper::_M_is_constprop_all_of): Return false unless the
computed result still satisfies __builtin_constant_p.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions