Landing: 53799b81fad8
Project / Subsystem
gcc / range
Date
2026-08-16
Author
Andrea Pinski
Commit
53799b81fad8cdb37d0df0f79a489fd7aa3c217d
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- range
- patch_id
- —
- commit_hash
- 53799b81fad8cdb37d0df0f79a489fd7aa3c217d
- source_type
- github
- headline
- range: Add non-negative support for built-in functions
- tldr
- Range optimization pass gains support for non-negative properties of several floating-point built-in functions.
- author
- Andrea Pinski
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • range analysis
- • builtins
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-16T00:00:00.000Z
The GIMPLE range optimization pass now recognizes non-negative properties for a subset of floating-point built-in functions. This enhancement allows the optimizer to infer that certain function return values are always non-negative, potentially enabling further optimizations. This is the first step towards replacing the older gimple_stmt_nonnegative_p with a more integrated range analysis.