+2000-06-24 Jakub Jelinek <jakub@redhat.com>
+
+ * stmt.c (expand_decl_cleanup): Emit a dummy insn after
+ last_unconditional_cleanup.
+
2000-06-24 Bernd Schmidt <bernds@cygnus.co.uk>
* tree.def (VECTOR_TYPE): New node type.
{
thisblock->data.block.last_unconditional_cleanup
= get_last_insn ();
+ /* When we insert instructions after the last unconditional cleanup,
+ we don't adjust last_insn. That means that a later add_insn will
+ clobber the instructions we've just added. The easiest way to
+ fix this is to just insert another instruction here, so that the
+ instructions inserted after the last unconditional cleanup are
+ never the last instruction. */
+ emit_note (NULL_PTR, NOTE_INSN_DELETED);
thisblock->data.block.cleanup_ptr = &thisblock->data.block.cleanups;
}
}