Re: [patch, avr] Add const attribute to built-in functions if possible.

2025-01-17 Thread Denis Chertykov
Georg-Johann Lay 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 >

[patch,avr] Add const attribute to built-in functions if possible.

2025-01-17 Thread Georg-Johann Lay
Most of the avr built-in functions can be attributed "const". Ok for trunk? 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.