This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gimple_bb (stmt) is set to a wrong basic block
- From: Aravinda <aravindakidambi at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 5 Oct 2009 18:11:47 -0400
- Subject: gimple_bb (stmt) is set to a wrong basic block
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