https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83682
Uroš Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-05 Component|target |rtl-optimization Ever confirmed|0 |1 --- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> --- Confirmed: (gdb) bt #0 internal_error (gmsgid=gmsgid@entry=0x1c07213 "in %s, at %s:%d") at /home/uros/gcc-svn/trunk/gcc/diagnostic.c:1430 #1 0x000000000082809b in fancy_abort (file=file@entry=0x1630d88 "/home/uros/gcc-svn/trunk/gcc/simplify-rtx.c", line=line@entry=6319, function=function@entry=0x1632310 <simplify_subreg(machine_mode, rtx_def*, machine_mode, poly_int<1u, unsigned long>)::__FUNCTION__> "simplify_subreg") at /home/uros/gcc-svn/trunk/gcc/diagnostic.c:1500 #2 0x0000000000d0c30c in simplify_subreg(machine_mode, rtx_def*, machine_mode, poly_int<1u, unsigned long>) () at /home/uros/gcc-svn/trunk/gcc/simplify-rtx.c:6422 #3 0x00000000013a879e in combine_simplify_rtx (x=0x7fffeff01ee8, op0_mode=E_SFmode, in_dest=in_dest@entry=0, in_cond=in_cond@entry=0) at /home/uros/gcc-svn/trunk/gcc/combine.c:5877 #4 0x00000000013aa654 in subst(rtx_def*, rtx_def*, rtx_def*, int, int, int) () at /home/uros/gcc-svn/trunk/gcc/combine.c:5604 #5 0x00000000013aa6f5 in subst(rtx_def*, rtx_def*, rtx_def*, int, int, int) () at /home/uros/gcc-svn/trunk/gcc/combine.c:5542 #6 0x00000000013ad821 in try_combine(rtx_insn*, rtx_insn*, rtx_insn*, rtx_insn*, int*, rtx_insn*) () at /home/uros/gcc-svn/trunk/gcc/combine.c:3398 #7 0x00000000013b3bd7 in combine_instructions (nregs=<optimized out>, f=<optimized out>) at /home/uros/gcc-svn/trunk/gcc/combine.c:1320 #8 rest_of_handle_combine () at /home/uros/gcc-svn/trunk/gcc/combine.c:14856 #9 (anonymous namespace)::pass_combine::execute(function*) () at /home/uros/gcc-svn/trunk/gcc/combine.c:14901 #10 0x0000000000c5d7c9 in execute_one_pass(opt_pass*) () at /home/uros/gcc-svn/trunk/gcc/passes.c:2497 #11 0x0000000000c5df75 in execute_pass_list_1(opt_pass*) () at /home/uros/gcc-svn/trunk/gcc/passes.c:2586 #12 0x0000000000c5df87 in execute_pass_list_1(opt_pass*) () at /home/uros/gcc-svn/trunk/gcc/passes.c:2587 #13 0x0000000000c5dfb9 in execute_pass_list(function*, opt_pass*) () at /home/uros/gcc-svn/trunk/gcc/passes.c:2597 #14 0x0000000000993213 in cgraph_node::expand() () at /home/uros/gcc-svn/trunk/gcc/context.h:48 #15 0x00000000009943ac in expand_all_functions () at /home/uros/gcc-svn/trunk/gcc/cgraphunit.c:2275 #16 symbol_table::compile() [clone .part.75] () at /home/uros/gcc-svn/trunk/gcc/cgraphunit.c:2624 #17 0x00000000009966ea in symbol_table::compile (this=0x7fffefda5100) at /home/uros/gcc-svn/trunk/gcc/cgraphunit.c:2717 #18 symbol_table::finalize_compilation_unit (this=0x7fffefda5100) at /home/uros/gcc-svn/trunk/gcc/cgraphunit.c:2717 #19 0x0000000000d2b888 in compile_file () at /home/uros/gcc-svn/trunk/gcc/toplev.c:480 #20 0x000000000082af50 in do_compile () at /home/uros/gcc-svn/trunk/gcc/toplev.c:2076 #21 toplev::main(int, char**) () at /home/uros/gcc-svn/trunk/gcc/toplev.c:2211 #22 0x000000000082d23b in main (argc=3, argv=0x7fffffffdae8) at /home/uros/gcc-svn/trunk/gcc/main.c:39 (gdb) f 2 #2 0x0000000000d0c30c in simplify_subreg(machine_mode, rtx_def*, machine_mode, poly_int<1u, unsigned long>) () at /home/uros/gcc-svn/trunk/gcc/simplify-rtx.c:6422 6422 SUBREG_PROMOTED_SET (newx, SUBREG_PROMOTED_GET (op)); (gdb) list 6417 && known_ge (outersize, innersize) 6418 && known_le (outersize, innermostsize) 6419 && subreg_lowpart_p (newx)) 6420 { 6421 SUBREG_PROMOTED_VAR_P (newx) = 1; 6422 SUBREG_PROMOTED_SET (newx, SUBREG_PROMOTED_GET (op)); 6423 } 6424 return newx; 6425 } 6426 return NULL_RTX;