------- Additional Comments From mustafa at il dot ibm dot com 2005-03-16 12:05 ------- After a bit more debugging I found out that the error caused due to copying the REG_DEAD note with the instructions when we are generating the prologues and epilogues in SMS. The REG_DEAD is correct in the inter-block view but not inside the block; but update_live_info looks inside the blocks and verify the information for each block and that where we are wrong. The fix is to prevent us from copying the REG_DEAD note in such a case. We should also look for other REG_ notes that we shouldn't be copying to prologue/epilogue. REG_USE for example should still be copies.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20177