[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
fixed upstream (4.8) ** Changed in: gcc-snapshot (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910791 Title: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/910791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
Was fixed upstream. Marking as won't fix against gcc-linaro. ** Changed in: gcc-linaro Status: Incomplete = Fix Released ** Changed in: gcc-linaro Status: Fix Released = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910791 Title: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/910791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
** Changed in: gcc Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910791 Title: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/910791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
** Changed in: gcc Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910791 Title: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/910791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
confirmed with 20120107 trunk (gcc-snapshot package in precise) ** Bug watch added: GCC Bugzilla #51659 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51659 ** Also affects: gcc via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51659 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910791 Title: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/910791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
now PR51659 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910791 Title: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/910791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
Launchpad has imported 5 comments from the remote bug at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51659. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2011-12-23T02:21:42+00:00 Carrot wrote: Created attachment 26168 test Compile the attached code and profile data with following command, I got an ICE /usr/local/google/home/carrot/disk2/armobja/gcc/cc1 -fpreprocessed function.i -mbionic -quiet -dumpbase function.c -march=armv7-a -mfloat-abi=softfp -mthumb-interwork -mfpu=vfpv3-d16 -mthumb -auxbase-strip obj/function.o -O2 -Wno-unused -fpic -fprofile-use -o function.s src/function.c: In function 'get_func_frame_size': src/function.c:516:1: internal compiler error: in output_move_double, at config/arm/arm.c:13933 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. Reply at: https://bugs.launchpad.net/gcc/+bug/910791/comments/0 On 2011-12-23T02:29:49+00:00 Carrot wrote: (gdb) cont Continuing. Breakpoint 2, output_move_double (operands=0x19be680, emit=1 '\001', count=0x0) at ../../../trunk/gcc/config/arm/arm.c:13933 13933 gcc_assert (!emit); (gdb) print debug_rtx(operands[0]) (reg:DI 2 r2 [orig:139 f_1(D)-x_frame_offset ] [139]) $1 = void (gdb) print debug_rtx(operands[1]) (reg:SI 3 r3) $2 = void (gdb) bt #0 output_move_double (operands=0x19be680, emit=1 '\001', count=0x0) at ../../../trunk/gcc/config/arm/arm.c:13933 #1 0x00fdb969 in output_642 (operands=0x19be680, insn=0x7643d900) at ../../../trunk/gcc/config/arm/vfp.md:202 #2 0x0079d73b in get_insn_template (code=642, insn=0x7643d900) at ../../../trunk/gcc/final.c:1817 #3 0x0079f2ed in final_scan_insn (insn=0x7643d900, file=0x1a451a0, optimize_p=2, nopeepholes=0, seen=0x7fffe208) at ../../../trunk/gcc/final.c:2682 #4 0x0079d5d9 in final (first=0x76ae6940, file=0x1a451a0, optimize_p=2) at ../../../trunk/gcc/final.c:1786 #5 0x007a2280 in rest_of_handle_final () at ../../../trunk/gcc/final.c:4319 #6 0x00a1f9ae in execute_one_pass (pass=0x1865060) at ../../../trunk/gcc/passes.c:2080 #7 0x00a1fb9c in execute_pass_list (pass=0x1865060) at ../../../trunk/gcc/passes.c:2135 #8 0x00a1fbbd in execute_pass_list (pass=0x1865ea0) at ../../../trunk/gcc/passes.c:2136 #9 0x00a1fbbd in execute_pass_list (pass=0x1865e40) at ../../../trunk/gcc/passes.c:2136 #10 0x00bc3b26 in tree_rest_of_compilation (fndecl=0x76c44a00) at ../../../trunk/gcc/tree-optimize.c:421 #11 0x00699e81 in cgraph_expand_function (node=0x76937360) at ../../../trunk/gcc/cgraphunit.c:1818 #12 0x0069a04c in cgraph_expand_all_functions () at ../../../trunk/gcc/cgraphunit.c:1885 #13 0x0069ab8d in cgraph_optimize () at ../../../trunk/gcc/cgraphunit.c:2198 #14 0x00697bce in cgraph_finalize_compilation_unit () at ../../../trunk/gcc/cgraphunit.c:1327 #15 0x004c8b3c in c_write_global_declarations () at ../../../trunk/gcc/c-decl.c:10026 #16 0x00b11a52 in compile_file () at ../../../trunk/gcc/toplev.c:573 #17 0x00b13c8b in do_compile () at ../../../trunk/gcc/toplev.c:1935 #18 0x00b13e02 in toplev_main (argc=20, argv=0x7fffe658) at ../../../trunk/gcc/toplev.c:2011 #19 0x005c9d90 in main (argc=20, argv=0x7fffe658) at ../../../trunk/gcc/main.c:36 (gdb) f 3 #3 0x0079f2ed in final_scan_insn (insn=0x7643d900, file=0x1a451a0, optimize_p=2, nopeepholes=0, seen=0x7fffe208) at ../../../trunk/gcc/final.c:2682 2682templ = get_insn_template (insn_code_number, insn); (gdb) print debug_rtx(insn) (insn:TI 6 3 7 2 (set (reg:DI 2 r2 [orig:139 f_1(D)-x_frame_offset ] [139]) (mem/s:DI (plus:SI (reg:SI 0 r0 [ f ]) (const_int 152 [0x98])) [6 f_1(D)-x_frame_offset+0 S8 A64])) src/function.c:512 642 {*movdi_vfp_cortexa8} (expr_list:REG_DEAD (reg:SI 0 r0 [ f ]) (nil))) $3 = void Apparently operands[1] doesn't match the actual operand (MEM ...) in the insn. (gdb) print recog_data.operand $6 = {0x75ff7100, 0x75ff77a0, 0xabababababababab repeats 28 times} (gdb) print recog_data.operand[0] $7 = (rtx) 0x75ff7100 (gdb) print recog_data.operand[1] $8 = (rtx) 0x75ff77a0 (gdb) print debug_rtx(recog_data.operand[0]) (reg:DI 2 r2 [orig:139 f_1(D)-x_frame_offset ] [139]) $9 = void (gdb) print debug_rtx(recog_data.operand[1]) (reg:SI 3 r3) For some unknown reason, recog_data.operand[1] is corrupted. Reply at: https://bugs.launchpad.net/gcc/+bug/910791/comments/1 On
[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
The snapshot was from r182617. Build is at: http://ex.seabright.co.nz/build/gcc-4.7~svn182617/logs/armv7l-natty-cbuild220-tcpanda05-cortexa9r1/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910791 Title: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/910791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
Found it. It only occurs with -mcpu=cortex-a8: ~/linaro/toolchains/gcc-4.7~svn182617-armv7l-natty-cbuild220-tcpanda05-cortexa9r1/bin/g++ -O2 -c -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 lp910791.ii The fault occurs in r178025, 178624, 182152, 182780 but not in 177688 so it was introduced somewhere between 177688 and 178025. Assuming the bug is in config/arm then it could be 177689 (rsandifo), 177705 (ramana), 177759 (ramana), 177852 (ramana), 177855 (rsandifo), 177891 (jye2), or 177902 (ams). I'm suspicious of 177759. Matthias, could you log this upsteam? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910791 Title: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/910791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
Thank you for the bug report. I can't reproduce this with: * gcc-linaro-4.6-2011.12 * gcc-4.7~svn182152 * gcc-4.7~svn182780 I tried the following commands: /tools/toolchains/arch/armv7l/gcc-4.7~svn182780-armv7l-natty- cbuild220-ursa2-cortexa9r1/bin/g++ -O2 -c -g -mfpu=vfpv3-d16 -marm lp910791.ii /tools/toolchains/arch/armv7l/gcc-4.7~svn182780-armv7l-natty- cbuild220-ursa2-cortexa9r1/bin/g++ -O2 -c -g -mfpu=vfpv3-d16 lp910791.ii /tools/toolchains/arch/armv7l/gcc-4.7~svn182780-armv7l-natty- cbuild220-ursa2-cortexa9r1/bin/g++ -O2 -c -g lp910791.ii /tools/toolchains/arch/armv7l/gcc-4.7~svn182152-armv7l-natty- cbuild212-tcpanda02-cortexa9r1/bin/g++ -O2 -c lp910791.ii /tools/toolchains/arch/armv7l/gcc-linaro-4.6-2011.12-armv7l-natty- cbuild212-tcpanda03-cortexa9r1/bin/g++ -O2 -c -g lp910791.ii This is with the Linaro standard Cortex-A9 Thumb-2 NEON configuration. ** Changed in: gcc-linaro Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910791 Title: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/910791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910791] Re: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c
** Attachment added: preprocessed source https://bugs.launchpad.net/bugs/910791/+attachment/2653833/+files/output.ii.gz ** Also affects: gcc-linaro Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910791 Title: [armhf] trunk 20111223, ICE in output_move_double, at config/arm/arm.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/910791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs