Landing: c2dfe9cf64ab

Project / Subsystem

gcc / avr

Date

2026-08-22

Author

Georg-Johann Lay

Commit

c2dfe9cf64ab960d65d72e1eb6aa7069fce9a137

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
avr
patch_id
—
commit_hash
c2dfe9cf64ab960d65d72e1eb6aa7069fce9a137
source_type
github
headline
AVR object files tagged with C++ virtual table address space.
tldr
AVR object files now indicate the address space used for C++ virtual tables.
author
Georg-Johann Lay
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • avr
  • • compiler
  • • object file
  • • c++
discussion_id_link
—
bugzilla_pr
—
date
2026-08-22T00:00:00.000Z

This patch adds the .gnu_attribute 4 (Tag_GNU_AVR_VTABLE_AS) tag to AVR object files, indicating the address space used for C++ virtual tables. This tag will be valuable for future extensions that might support vtables in non-generic address spaces. The compiler identifies vtable usage by tracking indirect calls to vtable entries and checking for vtable declarations in the varpool.