http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54632
--- Comment #11 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-24 12:27:28 UTC --- I get: ==24033== Memcheck, a memory error detector ==24033== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==24033== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==24033== Command: /var/tmp/foo/usr/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/cc1plus -fpreprocessed test.ii -quiet -dumpbase test.ii -mtune=generic -march=x86-64 -auxbase test -O2 -Wfatal-errors -w -std=c++11 -flto -flto-partition=none --param ggc-min-heapsize=0 -o /tmp/ccj0VbuA.s ==24033== ==24033== Invalid read of size 2 ==24033== at 0x947E70: lto_output_tree(output_block*, tree_node*, bool, bool) (lto-streamer-out.c:127) ==24033== by 0xB8D64F: streamer_write_tree_body(output_block*, tree_node*, bool) (tree-streamer-out.c:672) ==24033== by 0x948569: lto_output_tree(output_block*, tree_node*, bool, bool) (lto-streamer-out.c:339) ==24033== by 0xB8CDE3: streamer_write_tree_body(output_block*, tree_node*, bool) (tree-streamer-out.c:507) ==24033== by 0x948569: lto_output_tree(output_block*, tree_node*, bool, bool) (lto-streamer-out.c:339) ==24033== by 0x948CAE: lto_output() (lto-streamer-out.c:751) ==24033== by 0x97DBE0: ipa_write_summaries_2(opt_pass*, lto_out_decl_state*) (passes.c:2284) ==24033== by 0x97EA2D: ipa_write_summaries() (passes.c:2314) ==24033== by 0x782919: compile() (cgraphunit.c:1866) ==24033== by 0x782B54: finalize_compilation_unit() (cgraphunit.c:2080) ==24033== by 0x5AE5FA: cp_write_global_declarations() (decl2.c:4024) ==24033== by 0xA1D784: compile_file() (toplev.c:560) ==24033== Address 0x8c46af0 is not stack'd, malloc'd or (recently) free'd ==24033== ==24033== Invalid read of size 2 ==24033== at 0x947E99: lto_output_tree(output_block*, tree_node*, bool, bool) (tree-streamer.h:63) ==24033== by 0xB8D64F: streamer_write_tree_body(output_block*, tree_node*, bool) (tree-streamer-out.c:672) ==24033== by 0x948569: lto_output_tree(output_block*, tree_node*, bool, bool) (lto-streamer-out.c:339) ==24033== by 0xB8CDE3: streamer_write_tree_body(output_block*, tree_node*, bool) (tree-streamer-out.c:507) ==24033== by 0x948569: lto_output_tree(output_block*, tree_node*, bool, bool) (lto-streamer-out.c:339) ==24033== by 0x948CAE: lto_output() (lto-streamer-out.c:751) ==24033== by 0x97DBE0: ipa_write_summaries_2(opt_pass*, lto_out_decl_state*) (passes.c:2284) ==24033== by 0x97EA2D: ipa_write_summaries() (passes.c:2314) ==24033== by 0x782919: compile() (cgraphunit.c:1866) ==24033== by 0x782B54: finalize_compilation_unit() (cgraphunit.c:2080) ==24033== by 0x5AE5FA: cp_write_global_declarations() (decl2.c:4024) ==24033== by 0xA1D784: compile_file() (toplev.c:560) ==24033== Address 0x8c46af0 is not stack'd, malloc'd or (recently) free'd ==24033== test.ii: In member function ‘AirportTileTableIterator::operator++()’: test.ii:10619:6: internal compiler error: tree code ‘�F���’ is not supported in LTO streams } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.