------- Comment #6 from wilson at gcc dot gnu dot org 2006-07-11 01:41 ------- Created an attachment (id=11857) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11857&action=view) Delete old REG_DEAD notes before creating new ones.
This works for the testcase, but is otherwise untested. This just deletes the old REG_DEAD notes for a local life update before creating new ones. I believe this could be made simpler by eliminating UPDATE_LIFE_GLOBAL_RM_NOTES, and then calling count_or_remove_death_notes if PROP_DEATH_NOTES is set for both global and local updates. However, assuming we want what is on dataflow-branch, it seems better to go with a safer non-conflicting patch for now, and let dataflow-branch be the long term fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27883