This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]