[Bug c++/33553] [4.1/4.2/4.3 Regression] Bogus "array bound is not an integer constant" for parameter in template method of template class
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 5 20:05:00 GMT 2008
------- Comment #12 from jakub at gcc dot gnu dot org 2008-02-05 20:04 -------
Subject: Bug 33553
Author: jakub
Date: Tue Feb 5 20:03:30 2008
New Revision: 132126
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132126
Log:
PR c++/33553
* pt.c (tsubst) <case INTEGER_TYPE>: Don't issue error if max is
value dependent expression.
* g++.dg/template/array19.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/array19.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33553
More information about the Gcc-bugs
mailing list