Landing: 0fb1d14d2a20
Project / Subsystem
gcc / match
Date
2026-07-17
Author
Kael Andrew Alonzo Franco
Commit
0fb1d14d2a207764d10d4e7911f5f7233d15c998
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- match
- patch_id
- —
- commit_hash
- 0fb1d14d2a207764d10d4e7911f5f7233d15c998
- source_type
- github
- headline
- Optimised tree expression check moved to a numbered definition.
- tldr
- A tree expression check for non-negativity is moved for better symbol lookup.
- author
- Kael Andrew Alonzo Franco
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • match
- • optimization
- • tree
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-17T00:00:00.000Z
The tree_expr_nonnegative_p function, used for checking if a tree expression is non-negative, has been moved to a numbered alias (tree_expr_nonnegative_p@1). This change simplifies pattern matching and symbol resolution within the compiler’s internal representation, as indicated by PR tree-optimization/126087.