Landing: d9171eae3d69

Project / Subsystem

gcc / middle-end

Date

2026-08-21

Author

Tamar Christina

Commit

d9171eae3d69fe2a63ef8f03a5792c04e9d14271

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
middle-end
patch_id
—
commit_hash
d9171eae3d69fe2a63ef8f03a5792c04e9d14271
source_type
github
headline
middle-end: Add bitmask to default POLY_INT_CST ranges.
tldr
Restored bitmask to POLY_INT_CST ranges in value-query.cc to fix test failures.
author
Tamar Christina
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testing
  • • regression
discussion_id_link
—
bugzilla_pr
—
date
2026-08-21T00:00:00.000Z

A regression in GCC’s middle-end value-query logic caused test failures by failing to set the bitmask on POLY_INT_CST ranges when returning VARYING. This bitmask is crucial because even when a range is considered varying, it doesn’t imply all values within it are possible. The change restores the bitmask, ensuring correct range evaluation and passing CI tests.