Landing: e191d71a0627

Project / Subsystem

gcc / gcc/forwprop

Date

2026-08-23

Author

Andrea Pinski

Commit

e191d71a0627e0ba87c4b002a5fb826f181602ef

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/forwprop
patch_id
—
commit_hash
e191d71a0627e0ba87c4b002a5fb826f181602ef
source_type
github
headline
forwprop: Clarify comment on tree_to_uhwi safety
tldr
Updates a comment to accurately reflect why tree_to_uhwi is safe.
author
Andrea Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gcc
  • • documentation
  • • refactor
discussion_id_link
—
bugzilla_pr
—
date
2026-08-23T00:00:00.000Z

This commit updates a comment in tree-ssa-forwprop.cc to provide a clearer explanation of why the tree_to_uhwi function is considered safe. The comment now emphasizes that the operation is safe because the result is always less than TYPE_PRECISION, providing better context for developers reading the code.