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/46518] internal compiler error: in vinsn_detach, at sel-sched-ir.c:1271


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

--- Comment #7 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-11-17 16:22:20 UTC ---
Under x86_64 Fedora, when built with...

../gcc/configure --with-gmp=/usr --with-mpfr=/usr --with-mpc=/usr
--prefix=/home/howarth/dist --enable-languages=c,c++,fortran
--enable-build-with-cxx --disable-lto

I get failure...

Executing on host: /home/howarth/work/gcc/testsuite/gfortran/../../gfortran
-B/home/howarth/work/gcc/testsuite/gfortran/../../
-L/home/howarth/work/x86_64-unknown-linux-gnu/32/libgfor
tran /home/howarth/gcc/gcc/testsuite/gfortran.dg/pr42294.f   -O  -O2
-fselective-scheduling2 -fsel-sched-pipelining -funroll-all-loops -S  -m32 -o
pr42294.s    (timeout = 300)
/home/howarth/gcc/gcc/testsuite/gfortran.dg/pr42294.f: In function 'orien':
/home/howarth/gcc/gcc/testsuite/gfortran.dg/pr42294.f:39:0: internal compiler
error: Segmentation fault

This backtraces as...


gdb /home/howarth/work/gcc/testsuite/gfortran/../../f951
GNU gdb Fedora (6.8-32.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(gdb) r /home/howarth/gcc/gcc/testsuite/gfortran.dg/pr42294.f -ffixed-form
-quiet -dumpbase pr42294.f -m32 -mtune=generic -march=x86-64 -auxbase-strip
pr42294.s -O -O2 -version -fselective-scheduling2 -fsel-sched-pipelining
-funroll-all-loops -o pr42294.s -fintrinsic-modules-path finclude
Starting program: /home/howarth/work/gcc/f951
/home/howarth/gcc/gcc/testsuite/gfortran.dg/pr42294.f -ffixed-form -quiet
-dumpbase pr42294.f -m32 -mtune=generic -march=x86-64 -auxbase-strip pr42294.s
-O -O2 -version -fselective-scheduling2 -fsel-sched-pipelining
-funroll-all-loops -o pr42294.s -fintrinsic-modules-path finclude
GNU Fortran (GCC) version 4.6.0 20101117 (experimental)
(x86_64-unknown-linux-gnu)
    compiled by GNU C version 4.6.0 20101117 (experimental), GMP version 4.2.2,
MPFR version 2.3.2, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran (GCC) version 4.6.0 20101117 (experimental)
(x86_64-unknown-linux-gnu)
    compiled by GNU C version 4.6.0 20101117 (experimental), GMP version 4.2.2,
MPFR version 2.3.2, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

Program received signal SIGSEGV, Segmentation fault.
vinsn_detach (vi=0x0) at ../../gcc/gcc/sel-sched-ir.c:1271
1271      gcc_assert (VINSN_COUNT (vi) > 0);
Current language:  auto; currently c++
Missing separate debuginfos, use: debuginfo-install
cloog-ppl-0.15.8-2f10.x86_64 gmp-4.2.2-8.fc10.x86_64 libgcc-4.3.2-7.x86_64
libmpc-0.8-3.fc10.x86_64 libstdc++-4.3.2-7.x86_64 mpfr-2.3.2-1.fc10.x86_64
ppl-0.10.2-6.fc10.x86_64
(gdb) bt
#0  vinsn_detach (vi=0x0) at ../../gcc/gcc/sel-sched-ir.c:1271
#1  0x0000000000823e6c in clear_expr (expr=0x7fffffffdcd0) at
../../gcc/gcc/sel-sched-ir.c:1864
#2  0x0000000000839bc6 in schedule_expr_on_boundary (bnd=<value optimized out>,
expr_vliw=0x15173c0, seqno=-1) at ../../gcc/gcc/sel-sched.c:5435
#3  0x000000000083aa1c in fill_insns (scheduled_insns_tailpp=Unhandled dwarf
expression opcode 0xf2
) at ../../gcc/gcc/sel-sched.c:5576
#4  schedule_on_fences (scheduled_insns_tailpp=Unhandled dwarf expression
opcode 0xf2
) at ../../gcc/gcc/sel-sched.c:7298
#5  sel_sched_region_2 (orig_max_seqno=51) at ../../gcc/gcc/sel-sched.c:7432
#6  0x000000000083e30f in sel_sched_region_1 () at
../../gcc/gcc/sel-sched.c:7476
#7  sel_sched_region (rgn=<value optimized out>) at
../../gcc/gcc/sel-sched.c:7575
#8  0x00000000014cd7e0 in ?? ()
#9  0x00000000000001f8 in ?? ()
#10 0x0000000000000100 in ?? ()
#11 0x00000000014cd7f0 in ?? ()
#12 0x0000000000000200 in ?? ()
#13 0x0000003099a7bfc7 in _int_realloc (av=0x101010101010101, oldmem=0x1,
bytes=<value optimized out>) at malloc.c:5083
#14 0x0000003099a7cfbe in __libc_realloc (oldmem=0x14bfd90, bytes=504) at
malloc.c:3708
#15 0x00000000005b8137 in bitmap_copy (to=0x12f6001, from=0x1f8) at
../../gcc/gcc/bitmap.c:517
#16 0x0000000000000034 in ?? ()
#17 0xfffffffffffffff8 in ?? ()
#18 0x0000000000000000 in ?? ()


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