Landing: 88bb791cf749

Project / Subsystem

gcc / gccrs

Date

2026-07-16

Author

Lishin

Commit

88bb791cf749c413d5307fc28fb3c1a138be0096

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
88bb791cf749c413d5307fc28fb3c1a138be0096
source_type
github
headline
gccrs: Run block cleanup for unlabeled break and continue
tldr
GCC Rust compiler ensures cleanup code runs for unlabeled break and continue statements.
author
Lishin
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • compiler backend
  • • control flow
discussion_id_link
—
bugzilla_pr
—
date
2026-07-16T00:00:00.000Z

This patch ensures that block cleanup code is executed for unlabeled break and continue statements in GCC’s Rust front-end. Unlabeled break statements now return their translated tree, consistent with continue, and tail-position control flow expressions are emitted as statements to ensure they remain within the TRY_FINALLY_EXPR body.