This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33553] [4.2/4.3 Regression] Bogus "array bound is not an integer constant" for parameter in template method of template class
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2007 23:32:46 -0000
- Subject: [Bug c++/33553] [4.2/4.3 Regression] Bogus "array bound is not an integer constant" for parameter in template method of template class
- References: <bug-33553-15147@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-09-25 23:32 -------
Confirmed, reduced testcase:
template <class T_> struct SizeFor_ { static const int Size = 2; };
template <class R_>
struct Test {
template <class T_>
void test_array(int (&arr)[SizeFor_<T_>::Size]);
};
Test<int> p2;
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-09-25 23:32:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33553