Landing: 470f86dd50a8
Project / Subsystem
gcc / fix
Date
2026-07-01
Author
Alfie Richards
Commit
470f86dd50a8adedbaa6ae9468bf42bfe89d1a36
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fix
- patch_id
- —
- commit_hash
- 470f86dd50a8adedbaa6ae9468bf42bfe89d1a36
- source_type
- github
- headline
- Check if loop_vinfo is null before dereferencing.
- tldr
- A null pointer dereference bug in the vectorization pass is fixed.
- author
- Alfie Richards
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • bugfix
- • vectorization
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-01T00:00:00.000Z
This commit resolves a potential null pointer dereference in the vectorization pass. Specifically, in vect_set_loop_condition_normal within tree-vect-loop-manip.cc, the code now checks if loop_vinfo is null before attempting to dereference it. This prevents a crash when the loop information is unexpectedly missing.