Landing: a15a2cee730c

Project / Subsystem

gcc / gcc/forwprop

Date

2026-08-23

Author

Andrea Pinski

Commit

a15a2cee730ccdd5894ca6ece783f6fe27cb3e20

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/forwprop
patch_id
—
commit_hash
a15a2cee730ccdd5894ca6ece783f6fe27cb3e20
source_type
github
headline
forwprop: Add LMK_INVALID and associated checks
tldr
Improves robustness of the forward propagation pass by adding checks for invalid states.
author
Andrea Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-08-23T00:00:00.000Z

This change introduces an LMK_INVALID enum value to represent an uninitialized state within the long_mul_summand structure. Checks are added in long_mul_set_summand, long_mul_summand_compare, long_mul_find_summand, and long_mul_classify_chain to ensure that only fully initialized long_mul_summand values are processed. These checks are primarily for non-release builds, enhancing debugging and stability.