http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47152
Summary: ice in try_head_merge_bb at cfgcleanup.c:2177 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: ae...@gcc.gnu.org Host: x86_64-unknown-linux-gnu Target: cris-axis-elf Hello. make[4]: Entering directory `/home/aesok/cris/build/cris-elf/v10/libgcc' # If this is the top-level multilib, build all the other # multilibs. /home/aesok/cris/build/./gcc/xgcc -B/home/aesok/cris/build/./gcc/ -B/home/aesok/ cross-local/cris-elf/cris-elf/bin/ -B/home/aesok/cross-local/cris-elf/cris-elf/l ib/ -isystem /home/aesok/cross-local/cris-elf/cris-elf/include -isystem /home/ae sok/cross-local/cris-elf/cris-elf/sys-include --sysroot=/home/aesok/cross-local /cris-elf -g -O2 -march=v10 -mbest-lib-options -O2 -g -O2 -DIN_GCC -DCROSS_DI RECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmi ssing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 - D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. -I../../.././gcc -I../../ ../../gcc/libgcc -I../../../../gcc/libgcc/. -I../../../../gcc/libgcc/../gcc -I.. /../../../gcc/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o _addsub_df.o -MT _addsub_df.o -MD -MP -MF _addsub_df.dep -DFINE_GRAINED_LIBRARIES -DL_addsub_df - c ../../.././gcc/dp-bit.c ../../.././gcc/dp-bit.c: In function '_fpadd_parts': ../../.././gcc/dp-bit.c:730:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[4]: *** [_addsub_df.o] Error 1 This GDB was configured as "x86_64-linux-gnu". (gdb) file /home/aesok/cris/build/./gcc/cc1 Reading symbols from /home/aesok/cris/build/gcc/cc1...done. (gdb) run -fpreprocessed dp-bit.i -melf -ffunction-sections -fdata-sections -quiet -dumpbase dp-bit.c -march=v10 -mbest-lib-options -auxbase-strip _addsub_df.o -g -g -g -O2 -O2 -O2 -Wextra -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version -fno-stack-protector -o dp-bit.s Starting program: /home/aesok/cris/build/gcc/cc1 -fpreprocessed dp-bit.i -melf -ffunction-sections -fdata-sections -quiet -dumpbase dp-bit.c -march=v10 -mbest-lib-options -auxbase-strip _addsub_df.o -g -g -g -O2 -O2 -O2 -Wextra -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version -fno-stack-protector -o dp-bit.s GNU C (GCC) version 4.6.0 20110102 (experimental) [trunk revision 152933] (cris-elf) compiled by GNU C version 4.3.2, GMP version 4.2.2, MPFR version 2.4.1, MPC version 0.8 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C (GCC) version 4.6.0 20110102 (experimental) [trunk revision 152933] (cris-elf) compiled by GNU C version 4.3.2, GMP version 4.2.2, MPFR version 2.4.1, MPC version 0.8 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: d661c5447d50525e7c2e92079814b9be Program received signal SIGSEGV, Segmentation fault. try_head_merge_bb (bb=0x7ffff7635888) at ../../gcc/gcc/cfgcleanup.c:2177 2177 while (!NONDEBUG_INSN_P (curr)); (gdb) bt #0 try_head_merge_bb (bb=0x7ffff7635888) at ../../gcc/gcc/cfgcleanup.c:2177 #1 0x00000000009ff29e in cleanup_cfg (mode=2) at ../../gcc/gcc/cfgcleanup.c:2480 #2 0x0000000000a17f47 in rest_of_handle_stack_adjustments () at ../../gcc/gcc/combine-stack-adj.c:554 #3 0x000000000072d34f in execute_one_pass (pass=0xe8b0e0) at ../../gcc/gcc/passes.c:1553 #4 0x000000000072d645 in execute_pass_list (pass=0xe8b0e0) at ../../gcc/gcc/passes.c:1608 #5 0x000000000072d65d in execute_pass_list (pass=0xe86880) at ../../gcc/gcc/passes.c:1609 #6 0x000000000072d65d in execute_pass_list (pass=0xe86820) at ../../gcc/gcc/passes.c:1609 #7 0x000000000080f556 in tree_rest_of_compilation (fndecl=0x7ffff75c8400) at ../../gcc/gcc/tree-optimize.c:422 #8 0x0000000000994110 in cgraph_expand_function (node=0x7ffff75c6580) at ../../gcc/gcc/cgraphunit.c:1508 #9 0x0000000000996f29 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1567 #10 0x000000000099735d in cgraph_finalize_compilation_unit () at ../../gcc/gcc/cgraphunit.c:1031 #11 0x000000000047a4b4 in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:9843 #12 0x00000000007b299f in toplev_main (argc=30, argv=0x7fffffffe5b8) at ../../gcc/gcc/toplev.c:591 #13 0x00007ffff766a1a6 in __libc_start_main () from /lib/libc.so.6 #14 0x0000000000469a19 in _start () (gdb) Anatoly.