aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-06 18:17:46 +0000
committerRichard Stallman <rms@gnu.org>1993-05-06 18:17:46 +0000
commit9a881562eb58e37307a7178bd648e13f3a69b6c9 (patch)
treeb2327d301c23a2ffee49ac88d21db9ffc8bf5e4b
parenta3ee62e0065a4ab960ff9c1fdeea92cde1515ba9 (diff)
downloadgcc-9a881562eb58e37307a7178bd648e13f3a69b6c9.zip
gcc-9a881562eb58e37307a7178bd648e13f3a69b6c9.tar.gz
gcc-9a881562eb58e37307a7178bd648e13f3a69b6c9.tar.bz2
(forget_old_reloads_1): Accept and ignore 2nd arg.
(reload_as_needed): Pass that second arg. From-SVN: r4370
-rw-r--r--gcc/reload1.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index c963a33..1aa9d17 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -339,7 +339,7 @@ static int hard_reg_use_compare PROTO((struct hard_reg_n_uses *,
struct hard_reg_n_uses *));
static void order_regs_for_reload PROTO((void));
static void reload_as_needed PROTO((rtx, int));
-static void forget_old_reloads_1 PROTO((rtx));
+static void forget_old_reloads_1 PROTO((rtx, rtx));
static int reload_reg_class_lower PROTO((short *, short *));
static void mark_reload_reg_in_use PROTO((int, int, enum reload_type,
enum machine_mode));
@@ -3674,7 +3674,7 @@ reload_as_needed (first, live_known)
break;
if (i == n_reloads)
- forget_old_reloads_1 (XEXP (x, 0));
+ forget_old_reloads_1 (XEXP (x, 0), NULL_RTX);
}
#endif
}
@@ -3724,8 +3724,9 @@ reload_as_needed (first, live_known)
or it may be a pseudo reg that was reloaded from. */
static void
-forget_old_reloads_1 (x)
+forget_old_reloads_1 (x, ignored)
rtx x;
+ rtx ignored;
{
register int regno;
int nr;