http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47398
Summary: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: ja...@gcc.gnu.org Created attachment 23063 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23063 rh670984.C On the attached testcase g++ 4.5 and 4.6 ICE with: rh670984.C:168:5: internal compiler error: tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 (different line number in 4.5 of course). 4.4 compiles it without errors.