avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] AVR function inlining cutoff


From: Shaun Jackman
Subject: [avr-libc-dev] AVR function inlining cutoff
Date: Thu, 22 Nov 2007 13:28:32 -0700

With GCC r130284 --target=avr, a 116 byte static function that is
called twice is inlined even with -Os, effectively doubling the
function's footprint. I'd argue a function this large shouldn't even
be inlined with -O2. What is the size cutoff for inlining functions?
Can I modify it? If a code snippet would help troubleshoot this
matter, I can certainly send one along.

Cheers,
Shaun




reply via email to

[Prev in Thread] Current Thread [Next in Thread]