Landing: 2ec8e0de71cf

Project / Subsystem

gcc / tree-optimization

Date

2026-08-06

Author

Aldy Hernandez

Commit

2ec8e0de71cf273abcefba70deb9210eb0239e48

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
2ec8e0de71cf273abcefba70deb9210eb0239e48
source_type
github
headline
Remove redundant freestanding `contains_zero_p` function.
tldr
Cleans up range analysis code by removing a redundant function.
author
Aldy Hernandez
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • refactoring
  • • tree-optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-08-06T00:00:00.000Z

This commit refactors the range analysis code by removing a standalone contains_zero_p function. Since the vranges representation now provides its own contains_zero_p method, the separate function had become redundant. The change updates callers to use the method instead and removes the old function, simplifying the codebase.