http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47311
--- Comment #11 from Zdenek Sojka <zsojka at seznam dot cz> 2011-01-16 01:24:19 UTC --- (In reply to comment #9) > without SSE2 vectorized lexer: > > ==2012== Invalid read of size 8 > ==2012== at 0xB43064: search_line_acc_char (lex.c:263) That is probably not causing the crash. (In reply to comment #8) > ==23474== Invalid read of size 2 > ==23474== at 0x436C63: tsubst (pt.c:10502) But this is. For your preprocessed source from comment #3 I get: $ g++ hdlVhdlArchitecture.ii -std=c++0x In file included from ./h/hdlVhdlArchitecture.hpp:6:0, from hdlVhdlArchitecture.cpp:1: ./h/hdlHolderMapVectorAdapter.hpp:122:118: 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. (r168843, x86_64-linux, yes,rtl,df checking)