Landing: ce08892ee99a

Project / Subsystem

gcc / gcc

Date

2026-02-03

Author

Andrew MacLeod

Commit

ce08892ee99ae3028371b3da98c1ae02d54ebe37

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
ce08892ee99ae3028371b3da98c1ae02d54ebe37
source_type
github
headline
Range check now verifies the supplied range type.
tldr
Fixed an incorrect range check in get_tree_range that checked the value_range, not the supplied range type.
author
Andrew MacLeod
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gcc
  • range analysis
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-02-03T00:00:00.000Z

The get_tree_range function now correctly checks if the supplied vrange supports the expression type, rather than incorrectly checking the value_range. This ensures that the range check accurately reflects the supported types, preventing potential errors in subsequent code transformations.