Landing: bd948cdc8664

Project / Subsystem

gcc / gcc/ranger

Date

2026-09-29

Author

Aldy Hernandez

Commit

bd948cdc8664d9a1cd84ffeaae676a286c98e911

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc/ranger
patch_id
—
commit_hash
bd948cdc8664d9a1cd84ffeaae676a286c98e911
source_type
github
headline
Ranger: Improve pointer range analysis for read-only aggregates
tldr
GCC's range analysis now provides better pointer ranges by removing special casing for pointers in read-only aggregates.
author
Aldy Hernandez
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • compiler
  • • ranger
  • • pointer analysis
discussion_id_link
—
bugzilla_pr
—
date
2026-09-29T00:00:00.000Z

The GCC compiler’s range analysis pass has been improved to provide more accurate pointer ranges. By removing special casing for pointers within read-only aggregates, the analysis now treats pointers more consistently with integers. This change leads to better range information, especially for pointer types, and simplifies the internal code.