Landing: 2f6f227d81e8
Project / Subsystem
gcc / gccrs
Date
2026-08-03
Author
Arthur Cohen
Commit
2f6f227d81e8a05e3fac2c247637d0996477ee7e
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 2f6f227d81e8a05e3fac2c247637d0996477ee7e
- source_type
- github
- headline
- gccrs: Differentiate tool attributes from other attributes
- tldr
- gccrs: Compiler now correctly identifies and ignores tool-specific attributes.
- author
- Arthur Cohen
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • attributes
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-03T00:00:00.000Z
The gccrs compiler now distinguishes ‘tool attributes’ from other attributes, ensuring that tool-specific attributes are ignored by the compiler and can be handled by external tools. This is achieved by modifying the is_known API to return an enum indicating attribute knowledge and updating attribute handling in the AST lowering and name resolution phases.