[Bug c++/42325] internal compiler error: in instantiate_decl (with checking enabled)
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Tue Dec 8 12:19:00 GMT 2009
------- Comment #2 from zsojka at seznam dot cz 2009-12-08 12:19 -------
Created an attachment (id=19259)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19259&action=view)
reduced testcase
pr42325-reduced.cpp:2:27: error: template parameters not used in partial
specialization:
pr42325-reduced.cpp:2:27: error: ‘<template-parameter-1-1>’
pr42325-reduced.cpp: In function ‘void to_string()’:
pr42325-reduced.cpp:9:21: instantiated from ‘static void
char_traits<char>::assign()’
pr42325-reduced.cpp:9:21: instantiated from here
pr42325-reduced.cpp:9:21: internal compiler error: in instantiate_decl, at
cp/pt.c:16361
--
zsojka at seznam dot cz changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #19251|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42325
More information about the Gcc-bugs
mailing list