https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65249
--- Comment #22 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to Kazumoto Kojima from comment #21) > Before RA, during expand phase. It's generated by function.c: > expand_function_end with > emit_move_insn (crtl->return_rtx, > DECL_RTL (DECL_RESULT (current_function_decl)) > essentially. In this case, crtl->return_rtx is (reg/i:DI 0 r0). Ah, I see. Thanks.