Landing: f31d4844cf3c
Project / Subsystem
gcc / avr
Date
2026-10-02
Author
Georg-Johann Lay
Commit
f31d4844cf3c35566ba7e06a2097dc51ea55369d
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- avr
- patch_id
- —
- commit_hash
- f31d4844cf3c35566ba7e06a2097dc51ea55369d
- source_type
- github
- headline
- AVR: Support new linker option -mprune-vectab
- tldr
- GCC's AVR backend now supports the -mprune-vectab option, acting as a frontend for a new linker feature to prune vector tables.
- author
- Georg-Johann Lay
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • avr
- • linker
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-10-02T00:00:00.000Z
The GCC AVR backend has gained support for the new target option -mprune-vectab. This option serves as a frontend for a corresponding linker feature (--prune-vectab) that aims to optimize by removing unused entries from vector tables. The compiler option is active only when the linker supports the feature, which is verified during configuration.