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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmakarov at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
            Summary|ICE: in                     |[14 Regression] ICE: in
                   |lra_eliminate_regs_1, at    |lra_eliminate_regs_1, at
                   |lra-eliminations.cc:670     |lra-eliminations.cc:670
                   |with -Oz -frounding-math    |with -Oz -frounding-math
                   |-fno-dce -fno-trapping-math |-fno-dce -fno-trapping-math
                   |-fno-tree-dce -fno-tree-dse |-fno-tree-dce -fno-tree-dse
                   |-g                          |-g
   Last reconfirmed|                            |2023-12-06
      Known to work|                            |13.2.1
           Keywords|                            |ice-on-valid-code,
                   |                            |needs-bisection, ra
             Target|                            |x86_64-*-*
     Ever confirmed|0                           |1
   Target Milestone|---                         |14.0
          Component|debug                       |rtl-optimization

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.

#1  0x000000000147b8fc in lra_eliminate_regs_1 (insn=0x7ffff7201180, 
    x=0x7ffff7203df0, mem_mode=E_VOIDmode, subst_p=true, update_p=false, 
    update_sp_offset=..., full_p=false)
    at /space/rguenther/src/gcc/gcc/lra-eliminations.cc:670
670        gcc_unreachable ();
(gdb) l
665   return gen_rtx_USE (GET_MODE (x), new_rtx);
666        return x;
667
668      case CLOBBER:
669      case SET:
670        gcc_unreachable ();
671
672      default:
673        break;
674      }
(gdb) p debug_rtx (insn)
(debug_insn 41 40 42 3 (var_location:SI q (fix:SI (plus:SF (float:SF
(sign_extend:SI (mem/c:QI (plus:DI (reg/f:DI 19 frame)
                            (const_int -12 [0xfffffffffffffff4])) [3 %sfp+-12
S1 A32])))
            (clobber:SF (const_int 0 [0]))))) "t.c":9:7 -1
     (nil))

Reply via email to