This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28639] [4.2 regression] ICE trying to print error on invalid template parameter
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Aug 2006 03:38:49 -0000
- Subject: [Bug c++/28639] [4.2 regression] ICE trying to print error on invalid template parameter
- References: <bug-28639-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-26 03:38 -------
I get a different failure:
t.cc:1: error: ?void? is not a valid type for a template constant parameter
t.cc: In instantiation of ?const int A<<template parameter error> >::i?:
t.cc:4: instantiated from here
t.cc:4: internal compiler error: in instantiate_decl, at cp/pt.c:11940
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28639