* reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
an earlyclobbered output conflict with RELOAD_INPUT reloads.
From-SVN: r29935
+Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
+
+ * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
+ an earlyclobbered output conflict with RELOAD_INPUT reloads.
+
Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
if (! rld[i].in || ! rtx_equal_p (rld[i].in, value)
|| rld[i].out || out)
{
- int time2;
+ int j, time2;
switch (rld[i].when_needed)
{
case RELOAD_FOR_OTHER_ADDRESS:
if (! rld[i].in || rtx_equal_p (rld[i].in, value))
{
time2 = MAX_RECOG_OPERANDS * 4 + 4;
+ /* Earlyclobbered outputs must conflict with inputs. */
+ for (j = 0; j < n_earlyclobbers; j++)
+ if (reload_out[i] == reload_earlyclobbers[j])
+ time2 = MAX_RECOG_OPERANDS * 4 + 3;
+
break;
}
time2 = 1;