projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2654605
)
(i960_address_cost): Don't abort for invalid addresses.
author
Jim Wilson
<wilson@gcc.gnu.org>
Mon, 17 Aug 1992 18:55:48 +0000
(11:55 -0700)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Mon, 17 Aug 1992 18:55:48 +0000
(11:55 -0700)
From-SVN: r1877
gcc/config/i960/i960.c
patch
|
blob
|
history
diff --git
a/gcc/config/i960/i960.c
b/gcc/config/i960/i960.c
index
9f11fc7
..
60f65b9
100644
(file)
--- 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;