Landing: 2b54f6275a56
Project / Subsystem
gcc / gccrs
Date
2026-08-03
Author
Arthur Cohen
Commit
2b54f6275a569bdafc5e95f2c1f8a565c16ab0a0
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 2b54f6275a569bdafc5e95f2c1f8a565c16ab0a0
- source_type
- github
- headline
- gccrs: Consolidate unknown attribute reporting
- tldr
- gccrs: Improves error reporting for unknown attributes by centralizing checks.
- author
- Arthur Cohen
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • error handling
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-03T00:00:00.000Z
The gccrs compiler now centralizes the checking of attributes in a single location during the lowering phase, improving error reporting by explicitly mentioning which attribute is unknown. This change removes redundant attribute checking code from get_lang_item_attr and consolidates it within ASTLoweringBase::handle_outer_attributes.