Landing: 92a49b653b21
Project / Subsystem
gcc / testsuite
Date
2026-08-17
Author
Aldy Hernandez
Commit
92a49b653b21fc8cf55c114e24a83d6f40d19f2b
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- testsuite
- patch_id
- —
- commit_hash
- 92a49b653b21fc8cf55c114e24a83d6f40d19f2b
- source_type
- github
- headline
- Add test case for path solver positional invariant
- tldr
- New test case reproduces a crash in the thread pass caused by incorrect path solver context.
- author
- Aldy Hernandez
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • optimization
- • crashfix
- • regression
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-17T00:00:00.000Z
This commit adds a new test case to reproduce a crash that occurred in the thread pass at optimization level -O2, stemming from an incorrect positional context used by the path solver. The issue arose when match.pd queried the solver with a statement from an arbitrary block, leading to segfaults due to incorrect edge lookups when handling PHI nodes out of their expected block context.