[committed] libstdc++: Resolve -Wsign-compare issue
Matthias Kretz
m.kretz@gsi.de
Fri May 26 11:01:31 GMT 2023
pushed to master, will backport later
tested on x86_64-pc-linux-gnu and powerpc64le-linux-gnu
----------- 8< ------------
Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
libstdc++-v3/ChangeLog:
* include/experimental/bits/simd_ppc.h (_S_bit_shift_left):
Negative __y is UB, so prefer signed compare.
---
libstdc++-v3/include/experimental/bits/simd_ppc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
──────────────────────────────────────────────────────────────────────────
Dr. Matthias Kretz https://mattkretz.github.io
GSI Helmholtz Centre for Heavy Ion Research https://gsi.de
stdₓ::simd
──────────────────────────────────────────────────────────────────────────
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libstdc-Resolve-Wsign-compare-issue.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20230526/25b0e635/attachment.bin>
More information about the Gcc-patches
mailing list