Georg-Johann Lay <a...@gjlay.de> writes:

> Most of the avr built-in functions can be attributed "const".
>
> Ok for trunk?
>

Ok.

Denis.

> Johann
>
> --
>
> AVR: Add "const" attribute to avr built-in functions if possible.
>
> gcc/
>       * config/avr/avr-c.cc (DEF_BUILTIN): Add ATTRS argument to macro
>       definition.
>       * config/avr/avr.cc: Same.
>       (avr_init_builtins) <attr_const>: New variable that can be used
>       as ATTRS argument in DEF_BUILTIN.
>       * config/avr/builtins.def (DEF_BUILTIN): Add ATTRS parameter
>       to all definitions.

Reply via email to