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 target/31975] New: [4.3 Regression] segfault in try_split on mips during bootstrap


I'm getting a bootstrap error on mips with 4.3 SVN 20070515 revision 124745.

The compiler segfaults when compiling libstdc++-v3/src/strstream.cc with:

Program received signal SIGSEGV, Segmentation fault.
0x0074701c in try_split (pat=<value optimized out>, trial=0x2bfb31e0, last=1)
    at ../../src/gcc/emit-rtl.c:3286
3286      for (tem = NEXT_INSN (before); tem != after; tem = NEXT_INSN (tem))
(gdb) where
#0  0x0074701c in try_split (pat=<value optimized out>, trial=0x2bfb31e0,
last=1)
    at ../../src/gcc/emit-rtl.c:3286
#1  0x008cbcb8 in split_insn (insn=0x2bfb31e0) at ../../src/gcc/recog.c:2742
#2  0x008cbe78 in split_all_insns_noflow () at ../../src/gcc/recog.c:2888
#3  0x00b6b638 in mips_output_mi_thunk (file=0xece868, thunk_fndecl=<value
optimized out>, delta=0,
    vcall_offset=-12, function=0x2bfb4000) at
../../src/gcc/config/mips/mips.c:7275
#4  0x0059bd40 in use_thunk (thunk_fndecl=0x2baa6600, emit_p=<value optimized
out>)
    at ../../src/gcc/cp/method.c:441
#5  0x005ab854 in expand_body (fn=0x2ba9e700) at
../../src/gcc/cp/semantics.c:3084
#6  0x00b74090 in cgraph_expand_function (node=0x2ba9ea00) at
../../src/gcc/cgraphunit.c:1086
#7  0x00b77d28 in cgraph_optimize () at ../../src/gcc/cgraphunit.c:1155
#8  0x0051990c in cp_write_global_declarations () at
../../src/gcc/cp/decl2.c:3308
#9  0x0095c08c in toplev_main (argc=<value optimized out>, argv=<value
optimized out>)
    at ../../src/gcc/toplev.c:1064
#10 0x2abee050 in __libc_start_main () from /lib/libc.so.6
#11 0x0043d9bc in _ftext ()
(gdb)

Command line:

(sid)1846:tbm@bigsur: ..linux-gnu/libstdc++-v3/src]
/home/tbm/src/gcc-snapshot-20070515/build/./gcc/xgcc -shared-libgcc
-B/home/tbm/src/gcc-snapshot-20070515/build/./gcc -nostdinc++
-L/home/tbm/src/gcc-snapshot-20070515/build/mips-linux-gnu/libstdc++-v3/src
-L/home/tbm/src/gcc-snapshot-20070515/build/mips-linux-gnu/libstdc++-v3/src/.libs
-B/usr/lib/gcc-snapshot/mips-linux-gnu/bin/
-B/usr/lib/gcc-snapshot/mips-linux-gnu/lib/ -isystem
/usr/lib/gcc-snapshot/mips-linux-gnu/include -isystem
/usr/lib/gcc-snapshot/mips-linux-gnu/sys-include
-I/home/tbm/src/gcc-snapshot-20070515/build/mips-linux-gnu/libstdc++-v3/include/mips-linux-gnu
-I/home/tbm/src/gcc-snapshot-20070515/build/mips-linux-gnu/libstdc++-v3/include
-I/home/tbm/src/gcc-snapshot-20070515/src/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2
-D_GNU_SOURCE
-I/home/tbm/src/gcc-snapshot-20070515/build/mips-linux-gnu/libstdc++-v3/include/backward
-Wno-deprecated -c ../../../../src/libstdc++-v3/src/strstream.cc -o strstream.o
../../../../src/libstdc++-v3/src/strstream.cc: In member function 'void
std::strstream::_ZTv0_n12_NSt9strstreamD0Ev()':
../../../../src/libstdc++-v3/src/strstream.cc:418: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.


-- 
           Summary: [4.3 Regression] segfault in try_split on mips during
                    bootstrap
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
GCC target triplet: mips-linux-gnu


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


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