public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/58519] New: [4.9 regression] ICE in eliminate_regs_1
@ 2013-09-24  9:19 schwab@linux-m68k.org
  2013-09-24 10:49 ` [Bug rtl-optimization/58519] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2013-09-24  9:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58519
           Summary: [4.9 regression] ICE in eliminate_regs_1
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: build, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schwab@linux-m68k.org
                CC: rsandifo at gcc dot gnu.org
            Target: m68k-*-*

Regressed by r202839.

$ ../../gcc/gcj -B./ -B../../gcc/ -fclasspath=
-fbootclasspath=../../../libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated
-fbootstrap-classes -g -O2 -c -fsource-filename=classpath/lib/classes -MT
java/util.lo -MD -MP -MF java/util.deps @java/util.list  -fPIC -o
java/.libs/util.o
/daten/aranym/gcc/test/libjava/classpath/java/util/Timer.java: In class
'java.util.Timer':
[...]
/daten/aranym/gcc/test/libjava/classpath/java/util/Timer.java:578:0: internal
compiler error: Segmentation fault
   }
 ^
0x86471f crash_signal
        ../../gcc/toplev.c:335
0x80241c eliminate_regs_1
        ../../gcc/reload1.c:2556
0x802c24 eliminate_regs_1
        ../../gcc/reload1.c:2927
0x806caf eliminate_regs_in_insn
        ../../gcc/reload1.c:3624
0x80aef8 calculate_needs_all_insns
        ../../gcc/reload1.c:1516
0x80aef8 reload(rtx_def*, int)
        ../../gcc/reload1.c:941
0x7269f8 do_reload
        ../../gcc/ira.c:4698
0x7269f8 rest_of_handle_reload
        ../../gcc/ira.c:4815
0x7269f8 execute
        ../../gcc/ira.c:4844

Program received signal SIGSEGV, Segmentation fault.
eliminate_regs_1 (x=0x0, mem_mode=VOIDmode, insn=0x7ffff1c00f60, 
    may_use_invariant=false, for_costs=false) at ../../gcc/reload1.c:2556
2556      enum rtx_code code = GET_CODE (x);
(gdb) bt
#0  eliminate_regs_1 (x=0x0, mem_mode=VOIDmode, insn=0x7ffff1c00f60, 
    may_use_invariant=false, for_costs=false) at ../../gcc/reload1.c:2556
#1  0x0000000000802c25 in eliminate_regs_1 (x=0x7ffff1c00f60, 
    mem_mode=VOIDmode, insn=0x7ffff1c00f60, may_use_invariant=<optimized out>, 
    for_costs=<optimized out>) at ../../gcc/reload1.c:2927
#2  0x0000000000806cb0 in eliminate_regs_in_insn (
    insn=insn@entry=0x7ffff14f1960, replace=replace@entry=0)
    at ../../gcc/reload1.c:3624
#3  0x000000000080aef9 in calculate_needs_all_insns (global=1)
    at ../../gcc/reload1.c:1516
#4  reload (first=0x7ffff31e85c0, global=1) at ../../gcc/reload1.c:941
#5  0x00000000007269f9 in do_reload () at ../../gcc/ira.c:4698
#6  rest_of_handle_reload () at ../../gcc/ira.c:4815
#7  (anonymous namespace)::pass_reload::execute (this=<optimized out>)
    at ../../gcc/ira.c:4844
#8  0x00000000007bcd4a in execute_one_pass (pass=pass@entry=0x10ac440)
    at ../../gcc/passes.c:2201
#9  0x00000000007bcf96 in execute_pass_list (pass=0x10ac440)
    at ../../gcc/passes.c:2253
#10 0x00000000007bcfa8 in execute_pass_list (pass=0x10ab360)
    at ../../gcc/passes.c:2254
#11 0x000000000058116f in expand_function (node=0x7ffff390c850)
    at ../../gcc/cgraphunit.c:1750
#12 0x00000000005831ed in expand_all_functions ()
    at ../../gcc/cgraphunit.c:1855
#13 compile () at ../../gcc/cgraphunit.c:2192
#14 0x00000000005837b5 in finalize_compilation_unit ()
    at ../../gcc/cgraphunit.c:2269
#15 0x000000000074c2bb in write_global_declarations ()
    at ../../gcc/langhooks.c:322
#16 0x00000000004cb196 in java_write_globals () at ../../gcc/java/class.c:3277
#17 0x0000000000864ca5 in compile_file () at ../../gcc/toplev.c:560
#18 0x0000000000866a22 in do_compile () at ../../gcc/toplev.c:1891
#19 toplev_main (argc=31, argv=0x7fffffffd768) at ../../gcc/toplev.c:1967
#20 0x00007ffff6c46a15 in __libc_start_main (main=
    0x4c2790 <main(int, char**)>, argc=31, ubp_av=0x7fffffffd768, 
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7fffffffd758) at libc-start.c:258
#21 0x00000000004c2811 in _start () at ../sysdeps/x86_64/start.S:123

#1  0x0000000000802c25 in eliminate_regs_1 (x=0x7ffff1c00f60, 
    mem_mode=VOIDmode, insn=0x7ffff1c00f60, may_use_invariant=<optimized out>, 
    for_costs=<optimized out>) at ../../gcc/reload1.c:2927
2927                                          for_costs);
(gdb) p x
$1 = (rtx) 0x7ffff1c00f60
(gdb) pr
(int_list:REG_BR_PROB 7300 (nil))
(gdb) up
#2  0x0000000000806cb0 in eliminate_regs_in_insn (
    insn=insn@entry=0x7ffff14f1960, replace=replace@entry=0)
    at ../../gcc/reload1.c:3624
3624                              false);
(gdb) p insn
$2 = (rtx) 0x7ffff14f1960
(gdb) pr
(jump_insn 10 9 11 2 (set (pc)
        (if_then_else (ge (mem/c:DI (plus:SI (reg/f:SI 14 %a6)
                        (const_int 8 [0x8])) [27 delay+0 S8 A32])
                (const_int 0 [0]))
            (label_ref:SI 18)
            (pc)))
/daten/aranym/gcc/test/libjava/classpath/java/util/Timer.java:574 388 {bge0_di}
     (int_list:REG_BR_PROB 7300 (nil))
 -> 18)


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

end of thread, other threads:[~2013-10-01 20:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-24  9:19 [Bug rtl-optimization/58519] New: [4.9 regression] ICE in eliminate_regs_1 schwab@linux-m68k.org
2013-09-24 10:49 ` [Bug rtl-optimization/58519] " rguenth at gcc dot gnu.org
2013-09-24 15:23 ` sje at gcc dot gnu.org
2013-09-24 16:14 ` schwab@linux-m68k.org
2013-09-24 16:33 ` sje at gcc dot gnu.org
2013-10-01 20:37 ` sje at gcc dot gnu.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).