This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8164: ICE when using different const expressions as template parameter
- From: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: schnoerr at mailzone dot com, gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Jan 2003 14:53:32 +0100
- Subject: Re: c++/8164: ICE when using different const expressions as template parameter
Just for the record,
the ICE is gone on mainline, but we still have an error message
which leaves us with a rejects-legal bug:
PR8164.cc: In member function `void B<<anonymous> >::foo()':
PR8164.cc:14: error: conflicting types for `typedef struct A<(i <= 2)> C'
PR8164.cc:13: error: previous declaration as `typedef struct A<(i <= 1)> C'
Regards,
Volker
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8164