Landing: 29e4b7f1100a

Project / Subsystem

gcc / avr

Date

2026-05-24

Author

Georg-Johann Lay

Commit

29e4b7f1100ad3dd611da6fc3314a41978c5fc25

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
avr
patch_id
commit_hash
29e4b7f1100ad3dd611da6fc3314a41978c5fc25
source_type
github
headline
AVR: Implement fixed-point conversions to/from [u]int24_t.
tldr
The AVR backend now supports conversions between fixed-point numbers and 24-bit integers, resolving link errors.
author
Georg-Johann Lay
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • avr
  • fixed-point
  • code generation
discussion_id_link
bugzilla_pr
date
2026-05-24T00:00:00.000Z

The AVR backend now supports conversions between fixed-point numbers and 24-bit integers, addressing missing references during linking. The avr_out_fract function now handles 24-bit integral modes, facilitated by adding PSImode to the mode iterators in avr-fixed.md. This resolves undefined reference errors during linking when using fixed-point conversions with 24-bit integers.