https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113778
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I noticed the loop which calls rtx_properties::add_insn does not check if the insn was not a RTX_INSN (BARRIER, CODE_LABEL and NOTE can appeal bare in the RTL IR but are not insns).