Do not touch deleted nodes.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Tue, 13 Sep 2011 06:28:53 +0000 (08:28 +0200)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Tue, 13 Sep 2011 06:28:53 +0000 (08:28 +0200)
This fixes backend/float_ret_sse.c with -O1.

ir/be/ia32/ia32_transform.c

index 555c2cc..7e61985 100644 (file)
@@ -5894,7 +5894,11 @@ static void postprocess_fp_call_results(void)
                                        assert((long)pn_ia32_xStore_X_except == (long)pn_ia32_vfst_X_except);
 
                                        exchange(succ, st);
-                               } else if (new_res == NULL) {
+
+                                       continue;
+                               }
+
+                               if (new_res == NULL) {
                                        dbg_info *db       = get_irn_dbg_info(call);
                                        ir_node  *block    = get_nodes_block(call);
                                        ir_node  *frame    = get_irg_frame(current_ir_graph);