equivalent_node() functions fixed, return was wrong
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 25 Mar 2003 14:06:23 +0000 (14:06 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 25 Mar 2003 14:06:23 +0000 (14:06 +0000)
[r969]

ir/ir/iropt.c

index 8206591..8408832 100644 (file)
@@ -448,7 +448,7 @@ equivalent_node (ir_node *n)
       ir_node *first_val = NULL; /* to shutup gcc */
       ir_node *scnd_val = NULL;  /* to shutup gcc */
 
-      if (!get_opt_normalize()) return;
+      if (!get_opt_normalize()) return n;
 
       n_preds = get_Phi_n_preds(n);