[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0
From: |
David Kelly |
Subject: |
Re: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0 |
Date: |
Wed, 6 May 2009 14:30:20 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, May 06, 2009 at 12:44:42PM -0600, Sean D'Epagnier wrote:
>
> I was trying to reduce the size of my binary so it would fit on some
> 128kb parts. I normally used gcc 4.2.2 for this project, but decided
> to try gcc 4.5.0. To my surprise, the resulting binary was 3.5kb
> _larger_ with the newer gcc.
I've been hanging around since something like 3.3.6 and rarely have I
seen a newer avr-gcc produce smaller code. It happens sometimes. Is more
important to generate correct code than to generate small code.
I remember when avr-gcc issued two returns at the end of most (not all)
routines. Pure waste. But the code ran correctly.
> This is a serious bug imho and should be fixed.
If its documented then its a feature, not a bug. Want smaller code? Try
one of the 3.x compilers.
--
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.
- [avr-gcc-list] regression in size from 4.2.2 to 4.5.0, Sean D'Epagnier, 2009/05/06
- Re: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0, Steven Michalske, 2009/05/06
- Re: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0,
David Kelly <=
- RE: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0, Weddington, Eric, 2009/05/06
- Re: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0, Sean D'Epagnier, 2009/05/07
- RE: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0, Schwichtenberg, Knut, 2009/05/07
- Message not available
- Re: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0, Kang Tin LAI, 2009/05/07
- Re: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0, Bob Paddock, 2009/05/08
- RE: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0, Weddington, Eric, 2009/05/08
- Re: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0, Rolf Ebert, 2009/05/09
- Re: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0, Bob Paddock, 2009/05/09