* reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
From-SVN: r43911
+2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
+
+ * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
+ fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
+
Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
if (rld[i].when_needed == RELOAD_OTHER)
for (j = 0; j < n_reloads; j++)
if (rld[j].in != 0
- && rld[i].when_needed != RELOAD_OTHER
+ && rld[j].when_needed != RELOAD_OTHER
&& reg_overlap_mentioned_for_reload_p (rld[j].in,
rld[i].in))
rld[j].when_needed
- = ((rld[i].when_needed == RELOAD_FOR_INPUT_ADDRESS
- || rld[i].when_needed == RELOAD_FOR_INPADDR_ADDRESS)
+ = ((rld[j].when_needed == RELOAD_FOR_INPUT_ADDRESS
+ || rld[j].when_needed == RELOAD_FOR_INPADDR_ADDRESS)
? RELOAD_FOR_OTHER_ADDRESS : RELOAD_OTHER);
}
}