projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7e2c93
)
(hard_regno_mode_ok): Don't abort if unknown mode,
author
Torbjorn Granlund
<tege@gnu.org>
Sun, 6 Sep 1992 21:23:36 +0000
(21:23 +0000)
committer
Torbjorn Granlund
<tege@gnu.org>
Sun, 6 Sep 1992 21:23:36 +0000
(21:23 +0000)
return 0 instead. Declare argument MODE as `enum machine_mode'.
From-SVN: r2062
gcc/config/ns32k/ns32k.c
patch
|
blob
|
history
diff --git
a/gcc/config/ns32k/ns32k.c
b/gcc/config/ns32k/ns32k.c
index 1f3b0b4b6d3ca5121555663d7e5eae852d94c21d..eb47d9c9344fe53e7b87e4059b8e4dccaf7b3a53 100644
(file)
--- a/
gcc/config/ns32k/ns32k.c
+++ b/
gcc/config/ns32k/ns32k.c
@@
-46,7
+46,7
@@
trace (s, s1, s2)
int
hard_regno_mode_ok (regno, mode)
int regno;
-
int
mode;
+
enum machine_mode
mode;
{
switch (mode)
{
@@
-107,7
+107,10
@@
hard_regno_mode_ok (regno, mode)
else
return 0;
}
- abort(0);
+
+ /* Used to abort here, but simply saying "no" handles TImode
+ much better. */
+ return 0;
}
/* ADDRESS_COST calls this. This function is not optimal