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

--- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> ---
The ICE is occurring with:

Breakpoint 2, internal_error (gmsgid=0x1351b738 "RTL check: expected elt %d
type '%c' or '%c', have '%c' (rtx %s) in %s, at %s:%d")
    at /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/diagnostic.cc:2152
2152      auto_diagnostic_group d;
(gdb) bt
#0  internal_error (gmsgid=0x1351b738 "RTL check: expected elt %d type '%c' or
'%c', have '%c' (rtx %s) in %s, at %s:%d")
    at /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/diagnostic.cc:2152
#1  0x00000000114dbcd4 in rtl_check_failed_type2 (r=0x7ffff5770340, n=3,
c1=101, c2=117, 
    file=0x134813c0 "/home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/rtl.h",
line=1509, 
    func=0x13481f80 <PATTERN(rtx_def*)::__FUNCTION__> "PATTERN") at
/home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/rtl.cc:907
#2  0x0000000010a18f70 in PATTERN (insn=0x7ffff5770340) at
/home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/rtl.h:1509
#3  0x0000000012853b2c in insn_extract (insn=0x7ffff5770340) at
insn-extract.cc:23
#4  0x00000000111c54c4 in lra_set_insn_recog_data (insn=0x7ffff5770340) at
/home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra.cc:1059
#5  0x00000000111ce070 in lra_get_insn_recog_data (insn=0x7ffff5770340) at
/home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra-int.h:493
#6  0x00000000111f2e64 in combine_reload_insn (from=0x7ffff5770500,
to=0x7ffff5770340)
    at /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra-constraints.cc:5017
...

(gdb) frame 3
#3  0x0000000012853b2c in insn_extract (insn=0x7ffff5770340) at
insn-extract.cc:23
23        rtx pat = PATTERN (insn);
(gdb) pr insn
(note 9 19 13 2 NOTE_INSN_DELETED)

Reply via email to