> -----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 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 bytes going from > 4.1.2 to 4.3.0, using the mentioned flags.
Yes, avr-libc is built with -mcall-prologues and has been for a long time. It is a known issue that -mcall-prologues is not always a "win" for small applications, but that is just the nature of that particular optimization. If building avr-libc with -mcall-prologues is bothersome, then luckily avr-libc is open source and you're always free to build it yourself with whatever flags you desire. Eric Weddington _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list