On 8/23/07 2:07 PM, Diego Novillo wrote: > If you only have a 'tree' you cannot do it. I lied to you here. If you have a tree statement, you can call bsi_for_stmt to get a handle on the iterator that will let you remove it. It is an O(n) operation though (it scans the basic block looking for the statement).