aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMatthias Kretz <m.kretz@gsi.de>2023-02-20 17:35:59 +0100
committerMatthias Kretz <m.kretz@gsi.de>2023-02-23 15:01:49 +0100
commitfa37ac2b59ed1c379b35dbf9bd58f7849f9fd5b5 (patch)
tree890065b1a533f263d990d4a004fc7c6d539c7763 /gcc
parent92c47b15d5af3e7f93d11ad69a45b6d1cb8661c5 (diff)
downloadgcc-fa37ac2b59ed1c379b35dbf9bd58f7849f9fd5b5.zip
gcc-fa37ac2b59ed1c379b35dbf9bd58f7849f9fd5b5.tar.gz
gcc-fa37ac2b59ed1c379b35dbf9bd58f7849f9fd5b5.tar.bz2
libstdc++: Add missing constexpr on simd shift implementation
Resolves -Wtautological-compare warnings about `if (__builtin_is_constant_evaluated())` in the implementations of these functions. Signed-off-by: Matthias Kretz <m.kretz@gsi.de> libstdc++-v3/ChangeLog: * include/experimental/bits/simd_x86.h (_S_bit_shift_left) (_S_bit_shift_right): Declare constexpr. The implementation was already expecting constexpr evaluation.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions