http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299
Summary: ICE in gimple_ic on profile feedback build Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile AssignedTo: unassig...@gcc.gnu.org ReportedBy: andi-...@firstfloor.org Created attachment 24443 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24443 usage.i With 4.6.1 20110606 (and 4.7) and /pkg/gcc-4.6-110606/libexec/gcc/x86_64-unknown-linux-gnu/4.6.1/cc1 -fpreprocessed usage.i -quiet -dumpbase usage.c -mtune=generic -march=x86-64 -auxbase-strip usage.o -g -O2 -Wall -version -fprofile-use -o usage.s I get GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: ecc22bd7305923b0c90b3c641509cfa5 Program received signal SIGSEGV, Segmentation fault. gimple_ic (all=23, count=23, prob=10000, icall_stmt=0x7ffff6b79aa0, direct_call=<value optimized out>) at ../../gcc/gcc/value-prof.c:1156 1156 (gdb) bt #0 gimple_ic (all=23, count=23, prob=10000, icall_stmt=0x7ffff6b79aa0, direct_call=<value optimized out>) at ../../gcc/gcc/value-prof.c:1156 #1 gimple_ic_transform (all=23, count=23, prob=10000, icall_stmt=0x7ffff6b79aa0, direct_call=<value optimized out>) at ../../gcc/gcc/value-prof.c:1274 #2 gimple_value_profile_transformations (all=23, count=23, prob=10000, icall_stmt=0x7ffff6b79aa0, direct_call=<value optimized out>) at ../../gcc/gcc/value-prof.c:528 #3 0x0000000000767e2b in tree_profiling () at ../../gcc/gcc/tree-profile.c:484 #4 0x0000000000689399 in execute_one_pass (pass=0x1097a20) at ../../gcc/gcc/passes.c:1556 #5 0x0000000000689a3a in execute_ipa_pass_list (pass=0x1097a20) at ../../gcc/gcc/passes.c:1923 #6 0x0000000000898efc in ipa_passes () at ../../gcc/gcc/cgraphunit.c:1783 #7 cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1855 #8 0x00000000008990aa in cgraph_finalize_compilation_unit () at ../../gcc/gcc/cgraphunit.c:1096 #9 0x000000000049e405 in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:9871 #10 0x000000000071a848 in compile_file () at ../../gcc/gcc/toplev.c:591 #11 do_compile () at ../../gcc/gcc/toplev.c:1900 #12 toplev_main () at ../../gcc/gcc/toplev.c:1963 #13 0x00007ffff71dfa7d in __libc_start_main () from /lib64/libc.so.6 #14 0x000000000048de09 in _start () at ../sysdeps/x86_64/elf/start.S:113