https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94266
--- Comment #3 from Qian Chao <qianchao9 at huawei dot com> --- Created attachment 48082 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48082&action=edit Add a check before forward propgating a ADDR_EXPR to a MEM_REF to solve the ICE.