Landing: ddeb9b30a26c

Project / Subsystem

gcc / gcc/tree-optimization

Date

2026-07-17

Author

Andrew MacLeod

Commit

ddeb9b30a26ce61c836efe70893c77a67f7b737e

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc/tree-optimization
patch_id
commit_hash
ddeb9b30a26ce61c836efe70893c77a67f7b737e
source_type
github
headline
Use vrp_operand_equal_p for prange comparisons.
tldr
Optimized comparisons for prange objects by using a specialized function.
author
Andrew MacLeod
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • optimization
  • gcc
discussion_id_link
bugzilla_pr
date
2026-07-17T00:00:00.000Z

This commit changes how prange objects are compared for equality. Previously, raw pointer comparisons were used, which could lead to incorrect results when objects were unshared. The change introduces vrp_operand_equal_p for prange comparisons, ensuring that unshared objects are correctly identified as equal, which is crucial for data structures like hash tables.