Landing: ad82e41f1b99

Project / Subsystem

gcc / forwprop

Date

2026-08-22

Author

Andrea Pinski

Commit

ad82e41f1b997dedd2cf227cb410afd8763d89c8

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
forwprop
patch_id
—
commit_hash
ad82e41f1b997dedd2cf227cb410afd8763d89c8
source_type
github
headline
forwprop: Simplify long_mul_summand by using an array for hilo components.
tldr
forwprop: Replaces hilo{0,1,2} with an array, simplifying code and loop constructs.
author
Andrea Pinski
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-22T00:00:00.000Z

The hilo{0,1,2} components within the long_mul_summand structure in forwprop have been converted into an array. This change streamlines the code, particularly for range-based for loops, by eliminating the need for a local array copy. The update also replaces direct hilo[n] access with array indexing and modifies the copy location to use a loop.