https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683
--- Comment #8 from Wilco <wilco at gcc dot gnu.org> --- (In reply to Segher Boessenkool from comment #7) > Yes, it requires to look back a bit (the info always is in this dump > file though!) > > The alternative would be to dump even more info, grow the log files > by a factor two or so. Well if the size of the dump is an issue, I guess all the failed to match cases could be omitted and moved to a different option. Also you could keep the dump a similar size size by emitting less defer/delete notes. Eg. this would make understanding the output easier: Combining insns 19, 20, 21 (old cost 8 + 20 + 4 = 32): 19: r78:DI=r83:DI<<0x2+r76:DI REG_DEAD r83:DI REG_DEAD r76:DI 20: ... 21: ... into (new cost 28 + 4 = 32): 19: (defer deletion) 20: r83:DI=sign_extend([r83:DI*0x4+r76:DI]) 21: r82:SI=r83:DI#0 REG_DEAD r83:DI (defer rescan)