I have been working on a plugin and when I updated to gcc 4.7 I have run into a new issue. The input program is written in go. Anyways, my plugin modifies the function and then gimple_expand_cfg() is called. This typically executes without any issue. However, in one case, gcc now is aborting in expand_gimple_stmt_1(). The gimple stmt that is causing this abort() during the expansion is: "resx 1" and is of gimple type GIMPLE_RESX. I am not sure how to resolve this issue. All of my gimple stmt modifications to this function use gsi_replace() with the update-error-handling flag set to 'true' Any help or suggestions would be much appreciated.
Thanks! -Matt