]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: Use types of exact size and signedness in built-ins.
authorGeorg-Johann Lay <avr@gjlay.de>
Tue, 20 Feb 2024 13:54:44 +0000 (14:54 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Tue, 20 Feb 2024 14:24:18 +0000 (15:24 +0100)
commit4238100cdd5f5eba10e71adbf60054d29a9a4480
treebe0bfab8a6807638dd6e3317378da68c1c398162
parent39ff13375dd2a79fe6af76d82636e8503513a099
AVR: Use types of exact size and signedness in built-ins.

The AVR built-ins used types like "int" or "char" that don't
have exact signedness or type size which depend on -mint8
and -f[no-][un-]signed-char etc.  As the built-ins are modelling
machine instructions of given type sizes and signedness, also
use according types in their prototypes.

gcc/
* config/avr/builtins.def: Use function prototypes of given size
and signedness.
* config/avr/avr.cc (avr_init_builtins): Adjust types required
by builtins.def.
* doc/extend.texi (AVR Built-in Functions): Adjust accordingly.
gcc/config/avr/avr.cc
gcc/config/avr/builtins.def
gcc/doc/extend.texi