This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++/3433


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]