Landing: 1ae9479cc0eb

Project / Subsystem

gcc / gcc/cfgexpand

Date

2026-08-06

Author

Kyrylo Tkachov

Commit

1ae9479cc0ebde73867123358920752d98465131

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/cfgexpand
patch_id
—
commit_hash
1ae9479cc0ebde73867123358920752d98465131
source_type
github
headline
cfgexpand: Check partition MEM_EXPRs once the RTL of parameters is final
tldr
Moved an internal check in cfgexpand to prevent an ICE during parameter RTL restoration.
author
Kyrylo Tkachov
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cfgexpand
  • • ICE
  • • bugfix
  • • gcc
discussion_id_link
—
bugzilla_pr
—
date
2026-08-06T00:00:00.000Z

An internal verification check, verify_partition_mem_exprs, within the cfgexpand pass has been rescheduled to run only after the RTL for parameter and result default definitions is finalized. This adjustment prevents a false positive ICE that occurred due to temporary mismatches in MEM_EXPR assignments between parameter/result declarations and temporary variables during the out-of-SSA restoration process.