Re: [PATCH2][PR71252] Fix insertion point of stmt_to_insert

2016-05-30 Thread Richard Biener
On Mon, May 30, 2016 at 2:35 AM, kugan wrote: > > > On 28/05/16 01:28, Kugan Vivekanandarajah wrote: >> >> Hi Richard, >> >> This fix insertion point of stmt_to_insert based on your comments. In >> insert_stmt_before_use , I now use find_insert_point such that

Re: [PATCH2][PR71252] Fix insertion point of stmt_to_insert

2016-05-29 Thread kugan
On 28/05/16 01:28, Kugan Vivekanandarajah wrote: Hi Richard, This fix insertion point of stmt_to_insert based on your comments. In insert_stmt_before_use , I now use find_insert_point such that we insert the stmt_to_insert after its operands are defined. This means that we now have to insert

[PATCH2][PR71252] Fix insertion point of stmt_to_insert

2016-05-27 Thread Kugan Vivekanandarajah
Hi Richard, This fix insertion point of stmt_to_insert based on your comments. In insert_stmt_before_use , I now use find_insert_point such that we insert the stmt_to_insert after its operands are defined. This means that we now have to insert before and insert after in other cases. I also