From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20873 invoked by alias); 24 Sep 2013 09:19:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 20552 invoked by uid 48); 24 Sep 2013 09:19:05 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/58519] New: [4.9 regression] ICE in eliminate_regs_1 Date: Tue, 24 Sep 2013 09:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-09/txt/msg01692.txt.bz2 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=, for_costs=) 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=) 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 , argc=31, ubp_av=0x7fffffffd768, init=, fini=, rtld_fini=, 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=, for_costs=) 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)