This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Dumb gcc/C question
- To: David Ronis <ronis at onsager dot chem dot mcgill dot ca>
- Subject: Re: Dumb gcc/C question
- From: Michael Matz <matzmich at cs dot tu-berlin dot de>
- Date: Fri, 25 Aug 2000 20:56:27 +0200 (MET DST)
- cc: gcc at gcc dot gnu dot org
Hi,
On Fri, 25 Aug 2000, David Ronis wrote:
> int ncorrelations=(nchannel*3)*(nchannel*3+1)/2;
> double W[N3],C[N3][3],correlations[ncorrelations];
>
> where nchannel and are declared as ints globally and calculated
> earlier in the code.
>
> There were no warnings.
>
> Is this valid in general or simply a gcc extension?
A gcc extension.
Ciao,
Michael.