This is the mail archive of the gcc@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]

Re: Failure to bootstrap gcc cvs HEAD 20031025 on cygwin:gcc/unwind-dw2-fde.c:762: internal compiler error: in emit_move_insn, atexpr.c:2792


Christian Joensson <christian@j-son.org> writes:

> [...]
> /usr/local/src/trunk/gcc/gcc/unwind-pe.h:72: warning: 'size_of_encoded_value' defined but not used
> /usr/local/src/trunk/gcc/gcc/unwind-dw2-fde.c: In function `search_object':
>
> /usr/local/src/trunk/gcc/gcc/unwind-dw2-fde.c:762: internal compiler error: in emit_move_insn, at expr.c:2792

The same ICE occurs on x86_64-linux-gnu:
$ ./xgcc -B./ -B/opt/gcc/3.4-devel/x86_64-suse-linux-gnu/bin/ -isystem /opt/gcc/3.4-devel/x86_64-suse-linux-gnu/include -isystem /opt/gcc/3.4-devel/x86_64-suse-linux-gnu/sys-include -L/builds/gcc/testing/gcc/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/cvs/gcc/gcc -I/cvs/gcc/gcc/. -I/cvs/gcc/gcc/../include  -fexceptions -c /cvs/gcc/gcc/unwind-dw2-fde-glibc.c -o libgcc/./unwind-dw2-fde-glibc.o
/cvs/gcc/gcc/unwind-dw2-fde.c: In function `search_object':

/cvs/gcc/gcc/unwind-dw2-fde.c:762: internal compiler error: in emit_move_insn, at expr.c:2792
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

$ gdb  ./cc1
GNU gdb 5.3.92
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...
Breakpoint 1 at 0x55334d: file /cvs/gcc/gcc/diagnostic.c, line 584.
Breakpoint 2 at 0x401fc8
Breakpoint 3 at 0x401df8
(gdb) r -fpreprocessed unwind-dw2-fde-glibc.i -quiet -dumpbase unwind-dw2-fde-glibc.c -mtune=k8 -auxbase-strip libgcc/./unwind-dw2-fde-glibc.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -fPIC -fexceptions -o unwind-dw2-fde-glibc.s
Starting program: /builds/gcc/testing/gcc/cc1 -fpreprocessed unwind-dw2-fde-glibc.i -quiet -dumpbase unwind-dw2-fde-glibc.c -mtune=k8 -auxbase-strip libgcc/./unwind-dw2-fde-glibc.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -fPIC -fexceptions -o unwind-dw2-fde-glibc.s
Breakpoint 2 at 0x2a9569fc30
Breakpoint 3 at 0x2a9569ed00
GNU C version 3.4 20031025 (experimental) (x86_64-suse-linux-gnu)
        compiled by GNU C version 3.3.1 (SuSE Linux).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

Breakpoint 1, fancy_abort (file=0xee3dcf "/cvs/gcc/gcc/expr.c", line=2792, function=0xee40dc "emit_move_insn")
    at /cvs/gcc/gcc/diagnostic.c:584
584       internal_error ("in %s, at %s:%d", function, trim_filename (file), line);
(gdb) bt
#0  fancy_abort (file=0xee3dcf "/cvs/gcc/gcc/expr.c", line=2792, function=0xee40dc "emit_move_insn")
    at /cvs/gcc/gcc/diagnostic.c:584
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
During symbol reading, Incomplete CFI data; unspecified registers at 0x000000000055333e.
#1  0x00000000005cba72 in emit_move_insn (x=0x2a95dbb020, y=0x2a95573410) at /cvs/gcc/gcc/expr.c:2792
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000005cb9fc.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000005cb9fc.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000005cb9fc.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000005cb9fc.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000005cb9fc.
#2  0x00000000005b342b in store_bit_field (str_rtx=0x2a95da5fe0, bitsize=1, bitnum=256, fieldmode=VOIDmode, 
    value=0x2a95573410, total_size=48) at /cvs/gcc/gcc/expmed.c:366
#3  0x00000000005d515c in store_field (target=0x2a95da5fe0, bitsize=1, bitpos=256, mode=VOIDmode, exp=0x2a95adf090, 
    value_mode=VOIDmode, unsignedp=1, type=0x2a95d12410, alias_set=0) at /cvs/gcc/gcc/expr.c:5258
#4  0x00000000005cf240 in expand_assignment (to=0x2a95ae3ed0, from=0x2a95adf090, want_value=0) at /cvs/gcc/gcc/expr.c:3847
#5  0x00000000005f7bf7 in expand_expr (exp=0x2a95ae3ea0, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL)
    at /cvs/gcc/gcc/expr.c:8728
#6  0x0000000000c1a644 in expand_expr_stmt_value (exp=0x2a95ae3ea0, want_value=0, maybe_last=1) at /cvs/gcc/gcc/stmt.c:2149
#7  0x00000000004865ca in genrtl_expr_stmt_value (expr=0x2a95ae3ea0, want_value=0, maybe_last=1)
    at /cvs/gcc/gcc/c-semantics.c:355
#8  0x0000000000489062 in expand_stmt (t=0x2a95ae3e70) at /cvs/gcc/gcc/c-semantics.c:803
#9  0x0000000000488963 in genrtl_compound_stmt (t=0x2a95af7cc0) at /cvs/gcc/gcc/c-semantics.c:723
#10 0x00000000004890b6 in expand_stmt (t=0x2a95af7cc0) at /cvs/gcc/gcc/c-semantics.c:830
#11 0x0000000000488963 in genrtl_compound_stmt (t=0x2a95af7c00) at /cvs/gcc/gcc/c-semantics.c:723
#12 0x00000000004890b6 in expand_stmt (t=0x2a95af7c00) at /cvs/gcc/gcc/c-semantics.c:830
#13 0x0000000000477f96 in c_expand_expr (exp=0x2a95af7c30, target=0x2a95573400, tmode=VOIDmode, modifier=0)
    at /cvs/gcc/gcc/c-common.c:4135
#14 0x00000000005fa417 in expand_expr (exp=0x2a95af7c30, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL)
    at /cvs/gcc/gcc/expr.c:9083
#15 0x00000000005debed in expand_expr (exp=0x2a95df9840, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL)
    at /cvs/gcc/gcc/expr.c:6568
#16 0x0000000000c1a644 in expand_expr_stmt_value (exp=0x2a95df9840, want_value=0, maybe_last=0) at /cvs/gcc/gcc/stmt.c:2149
#17 0x00000000004865ca in genrtl_expr_stmt_value (expr=0x2a95df9840, want_value=0, maybe_last=0)
    at /cvs/gcc/gcc/c-semantics.c:355
#18 0x0000000000489062 in expand_stmt (t=0x2a95a7a4e0) at /cvs/gcc/gcc/c-semantics.c:803
#19 0x0000000000488963 in genrtl_compound_stmt (t=0x2a95a7a360) at /cvs/gcc/gcc/c-semantics.c:723
#20 0x00000000004890b6 in expand_stmt (t=0x2a95a7a360) at /cvs/gcc/gcc/c-semantics.c:830
#21 0x0000000000486b37 in genrtl_if_stmt (t=0x2a95944100) at /cvs/gcc/gcc/c-semantics.c:412
#22 0x00000000004890a8 in expand_stmt (t=0x2a95944100) at /cvs/gcc/gcc/c-semantics.c:826
#23 0x0000000000488963 in genrtl_compound_stmt (t=0x2a95a7a0c0) at /cvs/gcc/gcc/c-semantics.c:723
#24 0x00000000004890b6 in expand_stmt (t=0x2a95a7a0c0) at /cvs/gcc/gcc/c-semantics.c:830
#25 0x0000000000cdd716 in tree_rest_of_compilation (fndecl=0x2a95a4e8f0, nested_p=false) at /cvs/gcc/gcc/tree-optimize.c:144
#26 0x00000000004314fb in c_expand_body_1 (fndecl=0x2a95a4e8f0, nested_p=0) at /cvs/gcc/gcc/c-decl.c:6160
#27 0x0000000000431890 in c_expand_body (fndecl=0x2a95a4e8f0) at /cvs/gcc/gcc/c-decl.c:6190
#28 0x0000000000cdfff6 in cgraph_expand_function (node=0x2a9593f800) at /cvs/gcc/gcc/cgraphunit.c:498
#29 0x0000000000ce21ec in cgraph_expand_all_functions () at /cvs/gcc/gcc/cgraphunit.c:1331
---Type <return> to continue, or q <return> to quit---
#30 0x0000000000ce23f7 in cgraph_optimize () at /cvs/gcc/gcc/cgraphunit.c:1395
#31 0x000000000048e52c in c_objc_common_finish_file () at /cvs/gcc/gcc/c-objc-common.c:244
#32 0x000000000040dd8d in finish_file () at /cvs/gcc/gcc/c-lang.c:185
#33 0x000000000047f842 in c_common_parse_file (set_yydebug=0) at /cvs/gcc/gcc/c-opts.c:1232
#34 0x0000000000c3536a in compile_file () at /cvs/gcc/gcc/toplev.c:1836
#35 0x0000000000c3a585 in do_compile () at /cvs/gcc/gcc/toplev.c:4683
#36 0x0000000000c3a61d in toplev_main (argc=21, argv=0x7fbfffef28) at /cvs/gcc/gcc/toplev.c:4723
#37 0x00000000004a76c3 in main (argc=21, argv=0x7fbfffef28) at /cvs/gcc/gcc/main.c:35
(gdb) up
#1  0x00000000005cba72 in emit_move_insn (x=0x2a95dbb020, y=0x2a95573410) at /cvs/gcc/gcc/expr.c:2792
2792        abort ();
(gdb) p mode
$1 = BLKmode
(gdb) up
#2  0x00000000005b342b in store_bit_field (str_rtx=0x2a95da5fe0, bitsize=1, bitnum=256, fieldmode=VOIDmode, 
    value=0x2a95573410, total_size=48) at /cvs/gcc/gcc/expmed.c:366
366           emit_move_insn (op0, value);
(gdb) p op0
$2 = 0x2a95dbb020
(gdb) p value
$3 = 0x2a95573410
(gdb) pr  
(const_int 1 [0x1])
(gdb) pr op0
(const_int 1 [0x1])
(gdb) p *op0
$4 = {code = MEM, mode = BLKmode, jump = 1, call = 0, unchanging = 0, volatil = 0, in_struct = 1, used = 0, integrated = 0, 
  frame_related = 0, u = {fld = {{rtint = -1780764672, rtuint = 2514202624, rtstr = 0x2a95dbb000 "W", rtx = 0x2a95dbb000, 
        rtvec = 0x2a95dbb000, rttype = 2514202624, rt_addr_diff_vec_flags = {min_align = 0, base_after_vec = 0, 
          min_after_vec = 0, max_after_vec = 0, min_after_base = 0, max_after_base = 1, offset_unsigned = 1, scale = 219}, 
        rt_cselib = 0x2a95dbb000, rtbit = 0x2a95dbb000, rttree = 0x2a95dbb000, bb = 0x2a95dbb000, rtmem = 0x2a95dbb000, 
        rtreg = 0x2a95dbb000}}, hwint = {182902829056}}}
(gdb) p *value
$5 = {code = CONST_INT, mode = VOIDmode, jump = 0, call = 0, unchanging = 0, volatil = 0, in_struct = 0, used = 0, 
  integrated = 0, frame_related = 0, u = {fld = {{rtint = 1, rtuint = 1, rtstr = 0x1 <Address 0x1 out of bounds>, rtx = 0x1, 
        rtvec = 0x1, rttype = BLKmode, rt_addr_diff_vec_flags = {min_align = 1, base_after_vec = 0, min_after_vec = 0, 
          max_after_vec = 0, min_after_base = 0, max_after_base = 0, offset_unsigned = 0, scale = 0}, rt_cselib = 0x1, 
        rtbit = 0x1, rttree = 0x1, bb = 0x1, rtmem = 0x1, rtreg = 0x1}}, hwint = {1}}}


Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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