This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37142] [4.2/4.3/4.4 Regression] ICE: in dependent_type_p, at cp/pt.c:15585
- From: "dodji at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2008 16:49:26 -0000
- Subject: [Bug c++/37142] [4.2/4.3/4.4 Regression] ICE: in dependent_type_p, at cp/pt.c:15585
- References: <bug-37142-16603@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from dodji at gcc dot gnu dot org 2008-11-18 16:49 -------
Here is a reduced testcase:
1 template<typename T, const T a, template <typename U, U u> class W>
struct A {};
2
3 template<typename T, const T t> struct B {};
4
5 int
6 main ()
7 {
8 A<long, 0, B> a;
9 return 0;
10 }
11
--
dodji at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dodji at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37142