This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: variable length automatic arrays.
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Billy <billy at dadadada dot net>
- Cc: eCos discussion <ecos-discuss at sources dot redhat dot com>
- Date: Sun, 17 Apr 2005 17:38:43 +0200
- Subject: Re: [ECOS] variable length automatic arrays.
- References: <42627DC6.8070006@dadadada.net>
On Sun, Apr 17, 2005 at 11:16:22AM -0400, Billy wrote:
> Short question:
>
> Does eCos allocate dynamically sized arrays?
>
> Longer version:
>
> I'm worried about dynamic arrays under arm-elf-gcc 3.3.4.
>
> Looks like our application code, at least, is being adversely
> affected by this bug:
>
> "gcc-3.3: Miscompiles automatic dynamic arrays"
> http://lists.debian.org/debian-gcc/2004/07/msg00135.html
>
> So we're going through our app hunting these down. Upgrading
> the compiler to 3.4 might fix it, but new parser fussiness
> appears to be making that a more painful option than bughunting.
>
> Does eCos code rely on this gcc feature? Do we have
> to audit eCos code for varlength automatic arrays
> or just our app code?
eCos should not be using this feature.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss