https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
--- Comment #4 from David Binderman <dcb314 at hotmail dot com> --- (In reply to David Binderman from comment #0) > Created attachment 35932 [details] > gzipped C++ source code > > gcc trunk dated 20150707 does this > > $ ../results/bin/gcc -c -O2 bug216.cc > /home/dcb/rpmbuild/BUILD/qpid-cpp-0.32/src/qpid/sys/epoll/EpollPoller.cpp: > 677:2: internal compiler error: Segmentation fault > }} > ^ > 0xe6d3ff crash_signal > ../../src/trunk/gcc/toplev.c:360 > 0x91fa84 tree_check(tree_node const*, char const*, int, char const*, > tree_code) > ../../src/trunk/gcc/tree.h:3113 > 0x91fa84 symbol_table::decl_assembler_name_hash(tree_node const*) > ../../src/trunk/gcc/symtab.c:72 > 0x9265b2 symtab_node::get_for_asmname(tree_node const*) > ../../src/trunk/gcc/symtab.c:872 Some more detail from valgrind ==3165== Invalid read of size 8 ==3165== at 0xD1A12C: make_decl_rtl(tree_node*) (varasm.c:1361) ==3165== by 0x830312: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) (expr.c:9445) ==3165== by 0x838BB6: store_expr_with_bounds(tree_node*, rtx_def*, int, bool, tree_node*) (expr.c:5398) ==3165== by 0x83A0DC: expand_assignment(tree_node*, tree_node*, bool) (expr.c:5170) ... ==3165== Address 0x18 is not stack'd, malloc'd or (recently) free'd