This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Variable-sized types vs. templates
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Jim Wilson <wilson at redhat dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc at gcc dot gnu dot org, nathan at codesourcery dot com, jason at redhat dot com, gdr at codesourcery dot com, Richard dot Earnshaw at arm dot com
- Date: Tue, 08 Oct 2002 17:01:58 +0100
- Subject: Re: Variable-sized types vs. templates
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> Since dynamic arrays have been around for so long, and are used in so many
> programs, the C front end needs to continue supporting dynamic arrays in
> addition to VLAs. There seems to be some confusion here though. I just
> tried writing a simple testcase using a dynamic array that wasn't a valid VLA
> and gcc accepted it with -std=c99 -pedantic. I'm sure this will eventually
> be sorted out.
PR 7948
R.