From c0954bcdaf80a6d4d2e63023a40ed0a2ffc9705a Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Mon, 17 Aug 1992 11:55:48 -0700 Subject: [PATCH] (i960_address_cost): Don't abort for invalid addresses. From-SVN: r1877 --- gcc/config/i960/i960.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/config/i960/i960.c b/gcc/config/i960/i960.c index 9f11fc7ec68..60f65b96af2 100644 --- a/gcc/config/i960/i960.c +++ b/gcc/config/i960/i960.c @@ -493,7 +493,9 @@ i960_address_cost (x) if (GET_CODE (base) == PLUS || GET_CODE (base) == MULT) return 6; - abort (); + /* This is an invalid address. The return value doesn't matter, but + for convenience we make this more expensive than anything else. */ + return 12; } if (GET_CODE (x) == MULT) return 6; -- 2.30.2