+ /* Make some real stupid stuff: a data loop (without Phi). */
+ {
+ ir_node *a, *b, *c, *in[2];
+ add_in_edge(get_cur_block(), new_Bad());
+ a = new_Const (mode_Is, new_tarval_from_long (1, mode_Is));
+ b = new_Const (mode_Is, new_tarval_from_long (2, mode_Is));
+ c = new_Add(a, b, mode_Is);
+ b = new_Sub(c, b, mode_Is);
+ in[0] = b;
+ in[1] = new_Bad();
+ a = new_Phi(2, in, mode_Is);
+ set_Add_left(c, a);
+ //add_End_keepalive(get_irg_end(irg), a);
+ set_nodes_block(c, new_Bad());
+ set_nodes_block(a, new_Bad());
+ }
+