diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2023-02-04 18:38:45 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2023-06-30 05:26:51 +0200 |
commit | b22cf5f0321f6425a357c06647a4366d99ddac61 (patch) | |
tree | c21e9b5d7f8e228f478b2ad5b3904e03f915a33d | |
parent | e20abdb749d0c0c8552da998ff8ec139b830f5eb (diff) | |
download | gcc-b22cf5f0321f6425a357c06647a4366d99ddac61.zip gcc-b22cf5f0321f6425a357c06647a4366d99ddac61.tar.gz gcc-b22cf5f0321f6425a357c06647a4366d99ddac61.tar.bz2 |
libstdc++: Re-apply PR108672 fix (avoid use of naked int32_t in unseq_backend_simd.h)
The fix was overwritten by r14-2109-g3162ca09dbdc2e "libstdc++:
Synchronize PSTL with upstream".
libstdc++-v3:
PR libstdc++/108672
* include/pstl/unseq_backend_simd.h (__simd_or): Re-apply using
__INT32_TYPE__ instead of int32_t.
-rw-r--r-- | libstdc++-v3/include/pstl/unseq_backend_simd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/pstl/unseq_backend_simd.h b/libstdc++-v3/include/pstl/unseq_backend_simd.h index 69784bc..f3c38fb 100644 --- a/libstdc++-v3/include/pstl/unseq_backend_simd.h +++ b/libstdc++-v3/include/pstl/unseq_backend_simd.h @@ -74,7 +74,7 @@ __simd_or(_Index __first, _DifferenceType __n, _Pred __pred) noexcept const _Index __last = __first + __n; while (__last != __first) { - int32_t __flag = 1; + __INT32_TYPE__ __flag = 1; _PSTL_PRAGMA_SIMD_REDUCTION(& : __flag) for (_DifferenceType __i = 0; __i < __block_size; ++__i) if (__pred(*(__first + __i))) |