(i960_address_cost): Don't abort for invalid addresses.
authorJim Wilson <wilson@gcc.gnu.org>
Mon, 17 Aug 1992 18:55:48 +0000 (11:55 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 17 Aug 1992 18:55:48 +0000 (11:55 -0700)
From-SVN: r1877

gcc/config/i960/i960.c

index 9f11fc7ec68e915560391bc822072ca2236b7f1a..60f65b96af271ab14a87c98af8765c7a3799953e 100644 (file)
@@ -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;