summaryrefslogtreecommitdiff
path: root/gcc/genopinit.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-05-28 04:51:30 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-05-28 04:51:30 +0000
commitfcc88a63d5f40c4d083227c7e286c249bb67ea09 (patch)
tree7472b84c4fca19d6f8edb423cb0485b207dbe297 /gcc/genopinit.c
parent244fb8824a7166e21cb8b51edffdf49e168b02e6 (diff)
downloadgcc-fcc88a63d5f40c4d083227c7e286c249bb67ea09.tar.gz
(insn_name_ptr): Declare as variable.
(optabs): Fix typo in floatuns case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4582 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r--gcc/genopinit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c
index b07b8404ffb..e904a472b49 100644
--- a/gcc/genopinit.c
+++ b/gcc/genopinit.c
@@ -74,7 +74,7 @@ char *optabs[] =
"fixtrunctab[(int) %A][(int) %B][0] = CODE_FOR_%(fix_trunc%F\%a%I\%b2%)",
"fixtrunctab[(int) %A][(int) %B][1] = CODE_FOR_%(fixuns_trunc%F\%a%I\%b2%)",
"floattab[(int) %B][(int) %A][0] = CODE_FOR_%(float%I\%a%F\%b2%)",
- "floattab[(int) %B][(int) %A][1] = CODE_FOR_%(floatuns%I\%a%F\%b%)",
+ "floattab[(int) %B][(int) %A][1] = CODE_FOR_%(floatuns%I\%a%F\%b2%)",
"add_optab->handlers[(int) %A].insn_code = CODE_FOR_%(add%a3%)",
"sub_optab->handlers[(int) %A].insn_code = CODE_FOR_%(sub%a3%)",
"smul_optab->handlers[(int) %A].insn_code = CODE_FOR_%(mul%a3%)",
@@ -121,6 +121,9 @@ char *optabs[] =
"reload_out_optab[(int) %A] = CODE_FOR_%(reload_out%a%)",
"movstr_optab[(int) %A] = CODE_FOR_%(movstr%a%)" };
+/* Allow linking with print-rtl.c. */
+char **insn_name_ptr;
+
static void
gen_insn (insn)
rtx insn;