On Fri, 31 May 2024 at 15:53, Georg-Johann Lay <a...@gjlay.de> wrote: > > > > Am 31.05.24 um 15:56 schrieb Jonathan Wakely: > > On Fri, 31 May 2024 at 14:52, Georg-Johann Lay <a...@gjlay.de> wrote: > >> > >> What's the recommended way to stop built-in expansions in gcc? > >> > >> For example, avr-gcc expands isinff() to a bloated version of an > >> isinff() implementation that's written in asm (PR115307). > > > > Did you try -fno-builtin-isinff ? > > Are you saying that setting that option in, say, > gcc/common/config/avr/avr-common.cc is the way to go?
Ah, I didn't realise you meant permanently disable them, by default, not just for a given compilation.