This is the mail archive of the gcc-bugs@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


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]