avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Growing .data section when compiling with GCC 4.0 ins


From: Dave Hylands
Subject: Re: [avr-gcc-list] Growing .data section when compiling with GCC 4.0 instead of GCC 3.4.3
Date: Wed, 27 Apr 2005 05:30:34 -0700

On 4/27/05, Bernard Fouché <address@hidden> wrote:
> Good hint Dave: of the 90 objects making the application, I find 2
> objects having a big increase in .data . The 2 C files corresponding to
> these objects both have a big switch/case and it seems that the compiler
> is making some kind of 'jump table' to each 'case', probably to optimize
> the speed of processing the switch/case.

Try using the -mno-tablejump option to see if that helps.

-- 
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]