public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/13872] New: ICE during build
@ 2004-01-26 23:09 tm at kloo dot net
  2004-01-26 23:15 ` [Bug bootstrap/13872] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: tm at kloo dot net @ 2004-01-26 23:09 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bootstrap/13872] ICE during build
  2004-01-26 23:09 [Bug bootstrap/13872] New: ICE during build tm at kloo dot net
@ 2004-01-26 23:15 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-26 23:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-26 23:15 -------
This is a dup of bug 13584 (after some IRC debuging effect:
<tm2> it's even the same line of code...expr.c3873
<pinskia> can you do a "p debug_tree(from)"?
<tm2> I bailed out out of the debugger. hang on
<pinskia> ok
* dann (~dann@tracer.ics.uci.edu) has quit IRC (Quit: Leaving)
<tm2> (gdb) p debug_tree(from)
<tm2>  <call_expr 0x403a406c
<tm2>     type <void_type 0x4016be80 void type_6 VOID
<tm2>         align 8 symtab 0 alias set 169
<tm2>         pointer_to_this <pointer_type 0x4016bef4>>
<tm2>     side-effects
<tm2>     arg 0 <addr_expr 0x402e0c40
<tm2> ...
<tm2> looks very similar...it's a call_expr
<pinskia> does it have LTHUNK0 in it?
<tm2>        arg 0 <function_decl 0x401c6c3c *.LTHUNK0 type <method_type 0x410f91d0>
<pinskia> it is the same bug, ok
<pinskia> I will close it as a dup then
<tm2> ok

*** This bug has been marked as a duplicate of 13584 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-26 23:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-26 23:09 [Bug bootstrap/13872] New: ICE during build tm at kloo dot net
2004-01-26 23:15 ` [Bug bootstrap/13872] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).