Landing: cd9428362b65

Project / Subsystem

gcc / bitintlower

Date

2026-07-29

Author

Jakub Jelinek

Commit

cd9428362b6585e77ea2a171ec030894fcfa4d1c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
bitintlower
patch_id
—
commit_hash
cd9428362b6585e77ea2a171ec030894fcfa4d1c
source_type
github
headline
bitintlower: Fix _BitInt SSA_NAME coalescing ICE [PR126447]
tldr
Fixes compiler ICE related to _BitInt SSA_NAME coalescing with abnormal PHI nodes.
author
Jakub Jelinek
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • bitint
  • • _BitInt
  • • compiler bug
  • • optimization
  • • ssa
discussion_id_link
—
bugzilla_pr
—
date
2026-07-29T00:00:00.000Z

This commit addresses an Internal Compiler Error (ICE) occurring in the bitintlower pass when handling _BitInt types and coalescing SSA_NAMEs. The issue arises when muldiv_p is incorrectly set to true for certain internal function calls, preventing the coalescing of the left-hand side (lhs) with its operands, particularly when operands are SSA_NAMEs involved in abnormal PHI nodes. The fix ensures that for such cases, new SSA_NAMEs are created for the operands, preventing coalescing failures and resolving the ICE.