https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125409
Bug ID: 125409
Summary: [avr] Missing fixed-point conversions from / to
[u]int24_t
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gjl at gcc dot gnu.org
Target Milestone: ---
avr-gcc is lacking fixed-point conversions from / to [u]int24_t, like:
__uint24 fun_k (_Accum a)
{
return a;
}
_Accum k_fun (__uint24 a)
{
return a;
}
$ avr-gcc -mmcu=atmega128 x.c
ld: x.c:(.text+0x1c): undefined reference to `__fractunssapsi'
ld: x.c:(.text+0x4e): undefined reference to `__fractunspsisa'