https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115631
--- Comment #4 from Richard Sandiford <rsandifo at gcc dot gnu.org> --- Created attachment 58513 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58513&action=edit A patch for a bug seen on arm*-*-* Also, could you check whether the attached patch makes any difference? It fixes a problem seen on arm*-*-*, and I notice GCN also defines cannot_copy_insn_p.