https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115753
--- Comment #2 from Hu Lin <lin1.hu at intel dot com> --- Created attachment 58572 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58572&action=edit Untested fix. Confirmed, I need to check if TYPE_CODE is SSA_NAME before SSA_NAME_RANGE_INFO.