http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45230
--- Comment #19 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-07 19:45:19 UTC --- With this patch: diff --git a/gcc/sese.c b/gcc/sese.c index 65f8556..140b16f 100644 --- a/gcc/sese.c +++ b/gcc/sese.c @@ -547,8 +547,8 @@ rename_uses (gimple copy, htab_t rename_map, gimple_stmt_iterator *gsi_tgt, gsi_insert_seq_before (gsi_tgt, stmts, GSI_SAME_STMT); replace_exp (use_p, new_expr); - - if (TREE_CODE (new_expr) == INTEGER_CST) + if (TREE_CODE (new_expr) == INTEGER_CST + && gimple_code (copy) == GIMPLE_ASSIGN) { tree rhs = gimple_assign_rhs1 (copy); I now see the same error as in comment #12