This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3433
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/3433
- From: Paul Burchard <burchard at pobox dot com>
- Date: 29 Jun 2001 00:56:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Paul Burchard <burchard at pobox dot com>
The following reply was made to PR c++/3433; it has been noted by GNATS.
From: Paul Burchard <burchard@pobox.com>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org, burchard@pobox.com
Cc:
Subject: Re: c++/3433
Date: Thu, 28 Jun 2001 17:47:14 -0700
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3433&database=gcc
Actually, the tree-check failure in my bug report c++/3433 appears to be
due to the array size expression (1), not the the array initializer.
The error does not occur if the size is left implicit, as in:
template<unsigned int Dimension>
struct tensor1 {
static const unsigned int dimension[] = { Dimension };
};
PB