This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/47152] ice in try_head_merge_bb at cfgcleanup.c:2177


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47152

aesok at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|cris-axis-elf               |cris-axis-elf
                   |                            |v850-unknown-elf

--- Comment #4 from aesok at gcc dot gnu.org 2011-01-07 20:55:35 UTC ---
The same for v850 target:

/home/aesok/m32c/build-v850/./gcc/xgcc -B/home/aesok/m32c/build-v850/./gcc/
-B/h
ome/aesok/cross-local/v850-elf/v850-elf/bin/
-B/home/aesok/cross-local/v850-elf/
v850-elf/lib/ -isystem /home/aesok/cross-local/v850-elf/v850-elf/include
-isyste
m /home/aesok/cross-local/v850-elf/v850-elf/sys-include
--sysroot=/home/mstein/c
ross-local/v850-elf  -mv850 -g -O2 -O2  -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCT
URE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototyp
es -Wold-style-definition  -isystem ./include -mno-app-regs -msmall-sld
-Wa,-mwa
rn-signed-overflow -Wa,-mwarn-unsigned-overflow  -g  -DIN_LIBGCC2
-D__GCC_FLOAT_
NOT_NEEDED -fno-stack-protector   -I. -I. -I../../.././gcc
-I../../../../gcc/lib
gcc -I../../../../gcc/libgcc/. -I../../../../gcc/libgcc/../gcc
-I../../../../gcc
/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o _divsc3.o -MT _divsc3.o -MD
-M
P -MF _divsc3.dep -DL_divsc3 -c ../../../../gcc/libgcc/../gcc/libgcc2.c \

../../../../gcc/libgcc/../gcc/libgcc2.c: In function '__divsc3':
../../../../gcc/libgcc/../gcc/libgcc2.c:1944:1: internal compiler error:
Segment
ation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [_divsc3.o] Error 1

This GDB was configured as "x86_64-linux-gnu".
(gdb) file  /home/aesok/m32c/build-v850/./gcc/cc1
Reading symbols from /home/aesok/m32c/build-v850/gcc/cc1...done.
(gdb) run -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -mv850 -mno-app-
regs -msmall-sld -auxbase-strip _divsc3.o -g -g -g -O2 -O2 -O2 -Wextra -Wall -
Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-styl
e-definition -version -fno-stack-protector -o libgcc2.s
Starting program: /home/aesok/m32c/build-v850/gcc/cc1 -fpreprocessed libgcc2.i
-
quiet -dumpbase libgcc2.c -mv850 -mno-app-regs -msmall-sld -auxbase-strip
_divsc
3.o -g -g -g -O2 -O2 -O2 -Wextra -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prot
otypes -Wmissing-prototypes -Wold-style-definition -version
-fno-stack-protector
 -o libgcc2.s
GNU C (GCC) version 4.6.0 20110102 (experimental) [trunk revision 163490]
(v850-
elf)
        compiled by GNU C version 4.3.2, GMP version 4.2.4, 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 163490]
(v850-
elf)
        compiled by GNU C version 4.3.2, GMP version 4.2.4, MPFR version 2.4.1,
MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 911337ac19654219c2ba858d4c92924f

Program received signal SIGSEGV, Segmentation fault.
try_head_merge_bb (bb=0x7ffff76f0b60) at ../../gcc/gcc/cfgcleanup.c:2177
2177                  while (!NONDEBUG_INSN_P (curr));
(gdb) bt
#0  try_head_merge_bb (bb=0x7ffff76f0b60) at ../../gcc/gcc/cfgcleanup.c:2177
#1  0x0000000000a0fd5e in cleanup_cfg (mode=2)
    at ../../gcc/gcc/cfgcleanup.c:2480
#2  0x0000000000a28547 in rest_of_handle_stack_adjustments ()
    at ../../gcc/gcc/combine-stack-adj.c:554
#3  0x000000000073241f in execute_one_pass (pass=0xecbb00)
    at ../../gcc/gcc/passes.c:1553
#4  0x0000000000732715 in execute_pass_list (pass=0xecbb00)
    at ../../gcc/gcc/passes.c:1608
#5  0x000000000073272d in execute_pass_list (pass=0xec6f40)
    at ../../gcc/gcc/passes.c:1609
#6  0x000000000073272d in execute_pass_list (pass=0xec6ee0)
    at ../../gcc/gcc/passes.c:1609
#7  0x0000000000830656 in tree_rest_of_compilation (fndecl=0x7ffff7f90c00)
    at ../../gcc/gcc/tree-optimize.c:422
#8  0x00000000009b3da0 in cgraph_expand_function (node=0x7ffff7881000)
    at ../../gcc/gcc/cgraphunit.c:1508
#9  0x00000000009b6bb9 in cgraph_optimize ()
    at ../../gcc/gcc/cgraphunit.c:1567
#10 0x00000000009b6fed in cgraph_finalize_compilation_unit ()
    at ../../gcc/gcc/cgraphunit.c:1031
#11 0x000000000047e564 in c_write_global_declarations ()
    at ../../gcc/gcc/c-decl.c:9843
#12 0x00000000007d3a77 in toplev_main (argc=28, argv=0x7fffffffe5b8)
    at ../../gcc/gcc/toplev.c:591
#13 0x00007ffff78a91a6 in __libc_start_main () from /lib/libc.so.6
#14 0x000000000046dac9 in _start ()
(gdb)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]