Landing: bbed1c020be1
Project / Subsystem
gcc / gccrs
Date
2025-11-18
Author
Lucas Ly Ba
Commit
bbed1c020be1bcc3d255a6e2a0e279f150394a91
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- bbed1c020be1bcc3d255a6e2a0e279f150394a91
- source_type
- github
- headline
- Refactor dead code linting in gccrs
- tldr
- gccrs's dead code detection is refactored, moving checks for unused static and const items.
- author
- Lucas Ly Ba
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • rust
- • compiler
- • lint
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2025-11-18T00:00:00.000Z
The dead code linting in gccrs has been reorganized. Checks for unused static items and unused const items are now handled by the ScanDeadcode visitor. The UnusedChecker retains only the visibility and naming lints for these items, consolidating dead code analysis.