Landing: 9ff9808f3bc9

Project / Subsystem

gcc / gccrs

Date

2026-07-25

Author

Lishin

Commit

9ff9808f3bc9c4cf20dc7eb2ed1ce929d2eeec9b

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
9ff9808f3bc9c4cf20dc7eb2ed1ce929d2eeec9b
source_type
github
headline
gccrs: Add straight-line BIR drop state analysis
tldr
New analysis in gccrs identifies and classifies variable drops within basic blocks.
author
Lishin
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • borrow checker
  • • compiler analysis
discussion_id_link
—
bugzilla_pr
—
date
2026-07-25T00:00:00.000Z

GCC’s Rust front-end gains a new straight-line BIR drop state analysis pass. This analysis inserts BIR Drop statements at scope exits and classifies them as static or dead based on variable initialization and move states. Function arguments are treated as initialized and their drops are scheduled before function returns.