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 bootstrap/13872] New: ICE during build


tree-ssa fails to build for target h8300-elf:

/home/tm/tree-ssa/gcc-build-h8300-elf/gcc/xgcc -shared-libgcc
-B/home/tm/tree-ssa/gcc-build-h8300-elf/gcc/ -nostdinc++
-L/home/tm/tree-ssa/gcc-build-h8300-elf/h8300-elf/h8300h/libstdc++-v3/src
-L/home/tm/tree-ssa/gcc-build-h8300-elf/h8300-elf/h8300h/libstdc++-v3/src/.libs
-B/usr/local/h8300-elf/bin/ -B/usr/local/h8300-elf/lib/ -isystem
/usr/local/h8300-elf/include -isystem /usr/local/h8300-elf/sys-include -mh
-I/home/tm/tree-ssa/gcc-build-h8300-elf/h8300-elf/h8300h/libstdc++-v3/include/h8300-elf
-I/home/tm/tree-ssa/gcc-build-h8300-elf/h8300-elf/h8300h/libstdc++-v3/include
-I/home/tm/tree-ssa/gcc/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2 -mh
-fno-implicit-templates -Wall -W -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once
-I/home/tm/tree-ssa/gcc-build-h8300-elf/h8300-elf/h8300h/libstdc++-v3/include/backward
-Wno-deprecated -c ../../../../../gcc/libstdc++-v3/src/strstream.cc -o
strstream.o
/home/tm/tree-ssa/gcc-build-h8300-elf/h8300-elf/h8300h/libstdc++-v3/include/backward/strstream:
In member function `void std::istrstream::_ZTv0_n12_NSt10istrstreamD1Ev()':
/home/tm/tree-ssa/gcc-build-h8300-elf/h8300-elf/h8300h/libstdc++-v3/include/backward/strstream:120:
internal compiler error: Segmentation fault

Here's the executable run in GDB:

Program received signal SIGSEGV, Segmentation fault.
0x08179993 in expand_assignment (to=0x401c95e4, from=0x403a406c, want_value=0)
at ../../gcc/gcc/expr.c:3873
3873	  if (TREE_CODE (from) == CALL_EXPR && ! aggregate_value_p (from, from)
(gdb) bt
#0  0x08179993 in expand_assignment (to=0x401c95e4, from=0x403a406c,
want_value=0) at ../../gcc/gcc/expr.c:3873
#1  0x08181bfb in expand_expr_1 (exp=0x403a4090, target=0x4015c210,
tmode=VOIDmode, modifier=EXPAND_NORMAL)
    at ../../gcc/gcc/expr.c:8892
#2  0x0817d1d5 in expand_expr (exp=0x403a4090, target=0x4015c210,
tmode=VOIDmode, modifier=EXPAND_NORMAL)
    at ../../gcc/gcc/expr.c:6290
#3  0x08180d5d in expand_expr_1 (exp=0x412a2e40, target=0x4015c210,
tmode=VOIDmode, modifier=EXPAND_NORMAL)
    at ../../gcc/gcc/expr.c:8372
#4  0x0817d1fb in expand_expr (exp=0x412a2e40, target=0x4015c210,
tmode=VOIDmode, modifier=EXPAND_NORMAL)
    at ../../gcc/gcc/expr.c:6296
#5  0x0817e23b in expand_expr_1 (exp=0x4051d5a0, target=0x4015c210,
tmode=VOIDmode, modifier=EXPAND_NORMAL)
    at ../../gcc/gcc/expr.c:6831
#6  0x0817d1fb in expand_expr (exp=0x4051d5a0, target=0x4015c210,
tmode=VOIDmode, modifier=EXPAND_NORMAL)
    at ../../gcc/gcc/expr.c:6296
#7  0x08232166 in expand_expr_stmt_value (exp=0x4051d5a0, want_value=0,
maybe_last=0) at ../../gcc/gcc/stmt.c:2242
#8  0x080d4bd3 in expand_stmt_toplev (t=0x4051d5a0) at
../../gcc/gcc/c-semantics.c:332
#9  0x080f4880 in tree_rest_of_compilation (fndecl=0x410fc9f8, nested_p=false)
at ../../gcc/gcc/tree-optimize.c:536
#10 0x080a9570 in expand_body (fn=0x410fc9f8) at
../../gcc/gcc/cp/semantics.c:2792
#11 0x080a349b in use_thunk (thunk_fndecl=0x410fc9f8, emit_p=true) at
../../gcc/gcc/cp/method.c:510
#12 0x080a94cd in emit_associated_thunks (fn=0x410fc0e8) at
../../gcc/gcc/cp/semantics.c:2753
#13 0x080a9583 in expand_body (fn=0x410fc0e8) at
../../gcc/gcc/cp/semantics.c:2799
#14 0x08260bbb in cgraph_expand_function (node=0x412a9740) at
../../gcc/gcc/cgraphunit.c:629
#15 0x08261eb0 in cgraph_expand_all_functions () at
../../gcc/gcc/cgraphunit.c:1498
#16 0x082620b0 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1588
#17 0x080800e5 in finish_file () at ../../gcc/gcc/cp/decl2.c:2851
#18 0x0823bede in compile_file () at ../../gcc/gcc/toplev.c:1850
#19 0x0823f3c3 in do_compile () at ../../gcc/gcc/toplev.c:4631
#20 0x0823f44a in toplev_main (argc=4, argv=0xbffff904) at
../../gcc/gcc/toplev.c:4671
#21 0x4003ab5c in __libc_start_main (main=0x80e489c <main>, argc=4,
ubp_av=0xbffff904, init=0x804952c <_init>, 
    fini=0x82b7ca0 <_fini>, rtld_fini=0x4000d634 <_dl_fini>,
stack_end=0xbffff8fc) at ../sysdeps/generic/libc-start.c:129
(gdb)

-- 
           Summary: ICE during build
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tm at kloo dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-linux
  GCC host triplet: i386-linux
GCC target triplet: h8300-elf


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


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