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:
1e83f71
)
(main): Move unused arg ++i out of call to printf.
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 15 Feb 1994 00:19:02 +0000
(19:19 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 15 Feb 1994 00:19:02 +0000
(19:19 -0500)
From-SVN: r6557
gcc/bi-opcode.c
patch
|
blob
|
history
diff --git
a/gcc/bi-opcode.c
b/gcc/bi-opcode.c
index
3320845
..
473517a
100644
(file)
--- a/
gcc/bi-opcode.c
+++ b/
gcc/bi-opcode.c
@@
-1,5
+1,5
@@
/* Utility to generate opcode list from bytecode definition.
- Copyright (C) 1993 Free Software Foundation, Inc.
+ Copyright (C) 1993
, 1994
Free Software Foundation, Inc.
This file is part of GNU CC.
@@
-41,7
+41,10
@@
enum bytecode_opcode\n{");
i = 0;
for (d = defs; d; d = d->next)
for (v = d->variations; v; v = v->next)
- printf (" %s%s,\n", d->basename, v->name, i++);
+ {
+ printf (" %s%s,\n", d->basename, v->name);
+ ++i;
+ }
puts (" LAST_AND_UNUSED_OPCODE\n};");