https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102477

--- Comment #4 from Zdenek Sojka <zsojka at seznam dot cz> ---
Created attachment 51557
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51557&action=edit
another testcase, failing at -O

$ x86_64-pc-linux-gnu-gcc -O testcase.c
during RTL pass: expand
testcase.c: In function 'foo':
testcase.c:7:8: internal compiler error: in emit_move_insn, at expr.c:4026
    7 |   v *= -(v >> 4 * 8 - 1);
      |        ^~~~~~~~~~~~~~~~~
0x6b91fa emit_move_insn(rtx_def*, rtx_def*)
        /repo/gcc-trunk/gcc/expr.c:4026
0xe38a03 expand_gimple_stmt_1
        /repo/gcc-trunk/gcc/cfgexpand.c:4006
0xe38a03 expand_gimple_stmt
        /repo/gcc-trunk/gcc/cfgexpand.c:4040
0xe3eaff expand_gimple_basic_block
        /repo/gcc-trunk/gcc/cfgexpand.c:6082
0xe406ce execute
        /repo/gcc-trunk/gcc/cfgexpand.c:6808
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to