[Bug rtl-optimization/109179] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'

2023-03-17 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109179

--- Comment #6 from Vladimir Makarov  ---
Peter, thank you for reporting.  I'll try to fix it today or revert it.

[Bug rtl-optimization/109179] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'

2023-03-17 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109179

--- Comment #5 from Peter Bergner  ---
The "from" and "to" arguments to combine_reload_insn() are:

(gdb) pr from
(insn 19 17 9 2 (parallel [
(set (reg:TI 118 [  ])
(unspec:TI [
(reg:TI 117 [ _2 ])
] UNSPEC_P8V_RELOAD_FROM_VSX))
(clobber (reg:TI 123))
]) "bug.i":5:10 discrim 1 669 {reload_gpr_from_vsxti}
 (nil))

(gdb) pr to
(note 9 19 13 2 NOTE_INSN_DELETED)