This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47974] New: [4.6 Regression] ICE: tree check: expected tree_vec, have error_mark in tsubst_template_args, at cp/pt.c:8969 on invalid code
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 3 Mar 2011 14:57:43 +0000
- Subject: [Bug c++/47974] New: [4.6 Regression] ICE: tree check: expected tree_vec, have error_mark in tsubst_template_args, at cp/pt.c:8969 on invalid code
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47974
Summary: [4.6 Regression] ICE: tree check: expected tree_vec,
have error_mark in tsubst_template_args, at
cp/pt.c:8969 on invalid code
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Created attachment 23531
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23531
reduced testcase
$ gcc testcase.C
testcase.C:5:12: error: 'double' is not a valid type for a template constant
parameter
testcase.C:8:16: error: 'double' is not a valid type for a template constant
parameter
testcase.C:8:43: error: 'N' was not declared in this scope
testcase.C:10:3: error: '<type error>' is not a valid type for a template
constant parameter
testcase.C:10:3: internal compiler error: tree check: expected tree_vec, have
error_mark in tsubst_template_args, at cp/pt.c:8969
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r170622 - crash
4.5 r170013 - OK