This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [avr-libc-dev] AVR function inlining cutoff
- From: Joerg Wunsch <j at uriah dot heep dot sax dot de>
- To: Shaun Jackman <sjackman at gmail dot com>
- Cc: GCC Bugs <gcc-bugs at gcc dot gnu dot org>, avr-libc-dev at nongnu dot org
- Date: Thu, 22 Nov 2007 21:41:51 +0100
- Subject: Re: [avr-libc-dev] AVR function inlining cutoff
- References: <7f45d9390711221228j2673b7d4sc8b3a5a9e4e7a88c@mail.gmail.com>
- Reply-to: Joerg Wunsch <joerg_wunsch at uriah dot heep dot sax dot de>
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
<avr-gcc-list@nongnu.org> 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. ;-)