Landing: fadbd0d58519
Project / Subsystem
gcc / rs6000
Date
2026-09-29
Author
Avinash Jayakar
Commit
fadbd0d585193b7c899e4e4288de5bb18549ce46
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- rs6000
- patch_id
- —
- commit_hash
- fadbd0d585193b7c899e4e4288de5bb18549ce46
- source_type
- github
- headline
- Initialize size variable in altivec_resolve_overloaded_builtin
- tldr
- Initializes a variable to 0 to silence a false positive uninitialized variable warning.
- author
- Avinash Jayakar
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • rs6000
- • warning
- • compiler
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-29T00:00:00.000Z
This commit initializes the size variable to 0 within the altivec_resolve_overloaded_builtin function. This change addresses a false positive warning from the maybe-uninitialized pass, which flagged size as uninitialized because it was only accessed from the second loop iteration onwards. Initializing it to 0 resolves the warning without affecting the code’s logic.