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 09:42:21 -0700

Hi Eric,

> I'm not sure that it is a bug, per se. It's known that some swtich
> statements get compiled into tables which can increase the size of the code.

It's really an issue of whether the tables are stored in flash or in
RAM. Actually, because they're in RAM, they take up space twice, once
in flash (used to initialize the RAM) and once in RAM, where they're
actually used.

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




reply via email to

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