RE: [avr-gcc-list] gcc 4.3.0

2008-04-14 Thread Weddington, Eric
> -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of Andreas Kaiser > Sent: Monday, April 14, 2008 1:30 PM > To: Ruud Vlaming > Cc: avr-gcc-list@nongnu.org > Subject: Re: [avr-gcc-list] gcc 4.3.0 > > The W

Re: [avr-gcc-list] gcc 4.3.0

2008-04-14 Thread Andreas Kaiser
The WinAVR/avr-libc library appears to be compiled with -mcall-prologues. It adds a fixed size overhead if the helper functions are pulled in, which may increase code side of small projects where the profit from prolog/epilog reduction is too small. OTOH I've got a code reduction from 3424 to 3196

Re: [avr-gcc-list] gcc 4.3.0

2008-04-14 Thread Ruud Vlaming
On Sunday 13 April 2008 23:53, you wrote: > On Sat, 12 Apr 2008 20:55:58 +0200, you wrote: > >Also, I get an average increase of the codesize On my 12 projects the results are: Compared between different compiles on 4.3.0 only > -fno-inline-small-functions > -fno-split-wide-types Both combined: be

Re: [avr-gcc-list] gcc 4.3.0

2008-04-13 Thread Klaus Rudolph
Hi Eric, I have installed gcc 4.3.0 and becomes a bit confused :-) Not only that, but you will have bad code. Stock FSF 4.3.0 (i.e. unpatched) fails for the AVR target and generates wrong code. You will need to have a host of patches for that version to have a working AVR port. That sou

Re: [avr-gcc-list] gcc 4.3.0

2008-04-13 Thread Andreas Kaiser
On Sat, 12 Apr 2008 20:55:58 +0200, you wrote: >Also, I get an average increase of the codesize Try -fno-inline-small-functions -fno-split-wide-types -fno-tree-scev-cprop ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/m

Re: [avr-gcc-list] gcc 4.3.0

2008-04-13 Thread Dmitry K.
On Saturday 12 April 2008 01:01, Klaus Rudolph wrote: > I have installed gcc 4.3.0 and becomes a bit confused :-) > > main ends now with a "ret" and returns to undefined address from stack? > > Bug or feature? Unfortunately, this is a feature. Since 4.3.0 Avr-gcc considers the main() as a normal

Re: [avr-gcc-list] gcc 4.3.0

2008-04-12 Thread Ruud Vlaming
On Saturday 12 April 2008 21:19, Anatoly Sokolov wrote: > > Also, I get an average increase of the codesize (everything identical > > but the gcc version) of 5% moving from 4.2.3 to 4.3.0 (averiged > > over 12 projects, varying from 1% to 9%). I did not yet did research > > on the cause. > > T

Re: [avr-gcc-list] gcc 4.3.0

2008-04-12 Thread Anatoly Sokolov
Hello. > Also, I get an average increase of the codesize (everything identical > but the gcc version) of 5% moving from 4.2.3 to 4.3.0 (averiged > over 12 projects, varying from 1% to 9%). I did not yet did research > on the cause. > Try use "--param inline-call-cost=5" switch. The mini

Re: [avr-gcc-list] gcc 4.3.0

2008-04-12 Thread Ruud Vlaming
Also, I get an average increase of the codesize (everything identical but the gcc version) of 5% moving from 4.2.3 to 4.3.0 (averiged over 12 projects, varying from 1% to 9%). I did not yet did research on the cause. Ruud. On Friday 11 April 2008 16:01, Klaus Rudolph wrote: > I have installed

RE: [avr-gcc-list] gcc 4.3.0

2008-04-11 Thread Weddington, Eric
Hi Klaus, > -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of Klaus Rudolph > Sent: Friday, April 11, 2008 8:02 AM > To: avr-gcc-list@nongnu.org > Subject: [avr-gcc-list] gcc 4.3.0 > > I have installed gcc 4.

[avr-gcc-list] gcc 4.3.0

2008-04-11 Thread Klaus Rudolph
I have installed gcc 4.3.0 and becomes a bit confused :-) main ends now with a "ret" and returns to undefined address from stack? Bug or feature? By the way: What I want to test with my code was the new feature of gdb to have multiple breakpoints from inlined functions which works well for i3

RE: [avr-gcc-list] GCC 4.3.0 release, a few of bugs

2008-03-08 Thread Weddington, Eric
> -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of Dmitry K. > Sent: Thursday, March 06, 2008 6:02 PM > To: avr-gcc-list@nongnu.org > Subject: [avr-gcc-list] GCC 4.3.0 release, a few of bugs > > Hi. > >

[avr-gcc-list] GCC 4.3.0 release, a few of bugs

2008-03-08 Thread Dmitry K.
Hi. GCC 4.3.0 is available to download. A few of new bugs are open at gcc-bugzilla: [35506] New: [avr] 4.3.0 buid error: illegal opcode movw for mcu avr3 [35507] New: [avr] 4.3.0: size of small funcion increases from 2 to 29 words [35508] New: [avr] 4.3.0: undefined reference to `__ffshi2' [3550