------- Comment #2 from tbm at cyrius dot com 2008-09-03 08:51 ------- Program received signal SIGSEGV, Segmentation fault. 0x00000000009634e9 in decl_function_context (decl=<value optimized out>) at gcc/tree.c:6676 6676 = TYPE_MAIN_VARIANT (gdb) where #0 0x00000000009634e9 in decl_function_context (decl=<value optimized out>) at gcc/tree.c:6676 #1 0x00000000006206cf in df_get_entry_block_def_set (entry_block_defs=0x1417e10) at gcc/df-scan.c:3415 #2 0x0000000000627708 in df_scan_blocks () at gcc/df-scan.c:637 #3 0x0000000000615ff2 in rest_of_handle_df_initialize () at gcc/df-core.c:746 #4 0x0000000000761bb9 in execute_one_pass (pass=0x10c89a0) at gcc/passes.c:1278 #5 0x0000000000761df5 in execute_pass_list (pass=0x10c89a0) at gcc/passes.c:1326 #6 0x0000000000761e0d in execute_pass_list (pass=0x114a600) at gcc/passes.c:1327 #7 0x00000000008586bc in tree_rest_of_compilation (fndecl=0x7f3fa0a1af00) at gcc/tree-optimize.c:418 #8 0x00000000009d1760 in cgraph_expand_function (node=0x7f3fa0a28f00) at gcc/cgraphunit.c:1039 #9 0x00000000009d3524 in cgraph_optimize () at gcc/cgraphunit.c:1101 #10 0x00000000004a36bd in cp_write_global_declarations () at gcc/cp/decl2.c:3608 #11 0x000000000080991f in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at gcc/toplev.c:979 #12 0x00007f3fa26941a6 in __libc_start_main () from /lib/libc.so.6 #13 0x00000000004044d9 in _start () (gdb)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37345