Landing: cbf217f4c707

Project / Subsystem

gcc / avr

Date

2026-08-17

Author

Georg-Johann Lay

Commit

cbf217f4c7076d4e23a34735d403a192d4e78191

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
avr
patch_id
—
commit_hash
cbf217f4c7076d4e23a34735d403a192d4e78191
source_type
github
headline
AVR: New option for strict address space subset relations
tldr
Introduces `-mstrict-addr-space-subsets` to enforce precise address space subset rules on AVR.
author
Georg-Johann Lay
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • avr
  • • compiler option
  • • address space
discussion_id_link
—
bugzilla_pr
—
date
2026-08-17T00:00:00.000Z

A new target option, -mstrict-addr-space-subsets, is introduced for the AVR architecture. This option enforces stricter address space subset relations, preventing code that attempts to access memory across unrelated spaces, such as reading from Flash as if it were RAM, unless explicitly allowed.