Landing: 4e08734e5fcf
Project / Subsystem
gcc / libstdc++
Date
2026-08-17
Author
Matthias Kretz
Commit
4e08734e5fcfba5fb657a163a20c001236655f01
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- 4e08734e5fcfba5fb657a163a20c001236655f01
- source_type
- github
- headline
- libstdc++: Resolve integer type mismatches in stdx::simd [PR122981]
- tldr
- Fixes integer type mismatches in stdx::simd for ARM targets, improving type safety and compatibility.
- author
- Matthias Kretz
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • arm
- • simd
- • type safety
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-17T00:00:00.000Z
This patch resolves integer type mismatches in stdx::simd that affected ARM targets, particularly arm-none-eabi. Due to int32_t being defined as long, generic int vectors passed as int32x2_t were causing compilation errors. The fix uses intN_t aliases consistently and ensures correct bitcasting in NEON popcount implementation, enhancing type safety and avoiding unnecessary reinterpretations.