As Shaun Jackman wrote: > 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.
Sorry, but that's really off-topic for avr-libc-dev. Use <[EMAIL PROTECTED]> instead, please. I've already filed http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31528 If you've got more details to add, then please go ahead. If you found different patterns for missed optimizations, then file a separate bug report. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)