Hi, I am getting the following error while trying to add a statement to the gimple code. 'error: gimple_bb (stmt) is set to a wrong basic block'. I am inserting the statement using gsi_insert_after(gsi, gimple_stmt, 1). Kindly help me with suggestions or pointers to where I can find some solution. Thanks & Regards, Aravinda