This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/47311] [C++0x] ICE in tsubst @cp/pt.c:10502
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 16 Jan 2011 01:40:25 +0000
- Subject: [Bug preprocessor/47311] [C++0x] ICE in tsubst @cp/pt.c:10502
- Auto-submitted: auto-generated
- References: <bug-47311-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47311
--- Comment #13 from Zdenek Sojka <zsojka at seznam dot cz> 2011-01-16 01:39:57 UTC ---
Created attachment 22977
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22977
reduced testcase
Doesn't need C++0x mode.
Compiler output:
$ gcc testcase2.C
testcase2.C:3:56: internal compiler error: tree check: accessed elt 2 of
tree_vec with 1 elts in tsubst, at cp/pt.c:10500
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r168843 - crash
4.5 r168785 - OK