From: Jim Wilson Date: Mon, 17 Aug 1992 18:55:48 +0000 (-0700) Subject: (i960_address_cost): Don't abort for invalid addresses. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0954bcdaf80a6d4d2e63023a40ed0a2ffc9705a;p=gcc.git (i960_address_cost): Don't abort for invalid addresses. From-SVN: r1877 --- 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;