<div><font color="#000080" size="2" face="Verdana">I did a simple test just now, but I alse failed.</font></div>
<div><font color="#000080"></font> </div>
<div><font color="#000080">I delete several ordered instructions from end to begin, </font></div>
<div><font color="#000080">but after deleting the first instruction(the last instruction of F), the program crashed.</font></div>
<div><font color="#000080">My test code is below (</font><font color="#000080">F is a function only containing several sequential instructions):</font></div>
<div><font color="#000080"></font> </div>
<div><font color="#000080">for (inst_iterator inst == --inst_end(F); inst != inst_begin(F); --inst) {</font></div>
<div style="TEXT-INDENT: 2em"><font color="#000080">Instruction * i = &*inst;</font></div>
<div style="TEXT-INDENT: 2em"><font color="#000080">i->eraseFromParent();</font></div>
<div><font color="#000080">}</font></div>
<div><font color="#000080" size="2" face="Verdana"></font> </div>
<div> </div>
<div><font color="#000080">Best Regards!</font></div>