c++/8164: ICE when using different const expressions as template parameter
Volker Reichelt
reichelt@igpm.rwth-aachen.de
Wed Jan 15 12:56:00 GMT 2003
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
More information about the Gcc-bugs
mailing list