This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2513: [2003-01-21] internal template template parameter causes ICE
- From: ehrhardt at mathematik dot uni-ulm dot de
- To: ariels at compugen dot co dot il, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 25 Jan 2003 00:48:27 -0000
- Subject: Re: c++/2513: [2003-01-21] internal template template parameter causes ICE
- Reply-to: ehrhardt at mathematik dot uni-ulm dot de, ariels at compugen dot co dot il, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: [2003-01-01] internal template template parameter causes ICE
New Synopsis: [2003-01-21] internal template template parameter causes ICE
State-Changed-From-To: suspended->analyzed
State-Changed-By: cae
State-Changed-When: Sat Jan 25 00:48:27 2003
State-Changed-Why:
This was suspended waiting for the new parser. Someone confirmed
that it is still present with the new parser already but apparently
the state wasn't changed. While we're at it: Here's a further
reduced example:
template <bool flag>
struct Select
{
typedef int Result;
};
template <template<class> class Pred>
struct FindType {
typedef typename Select<Pred<int>::Value == 1>::Result Result;
};
template <int bits>
struct Int {
template<typename T>
struct RightSize {
enum { Value };
};
typedef typename FindType<RightSize>::Result type;
};
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2513