https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111497
Bug ID: 111497 Summary: [11/12/13/14 Regression] ICE building mariadb on i686 since r8-470 Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- The following testcase ICEs on x86_64-linux with -m32 -march=i686 -mtune=generic -fPIC -O2 -g starting with r8-470-g973dfbb4a63ba7c580e4 The error is: during RTL pass: pro_and_epilogue item.ii: In constructor ‘G::G(A*, const B&, const B&, const B&)’: item.ii:19:1: internal compiler error: in find_oldest_value_reg, at regcprop.cc:465 19 | } | ^ 0x10304d0 find_oldest_value_reg ../../gcc/regcprop.cc:465 0x10307eb replace_oldest_value_reg ../../gcc/regcprop.cc:512 0x1030fe0 replace_oldest_value_addr ../../gcc/regcprop.cc:671 0x10311c3 replace_oldest_value_mem ../../gcc/regcprop.cc:704 and it is apparently due to LRA leaving a reference to a pseudo register in a DEBUG_INSN: (debug_insn 28 27 29 2 (var_location:SI x (mem/f:SI (reg:SI 110) [1 *y_10(D).b1+0 S4 A32])) "item.ii":4:39 -1 (nil)) in *.reload dump and forward. Vlad, could you please have a look?