aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2009-07-28 06:20:49 +0000
committerJan Beulich <jbeulich@novell.com>2009-07-28 06:20:49 +0000
commit1035ad423ea11637f956e484a3f1cc4dbd493ec7 (patch)
tree91f413c36ec3142e6ea0824164a0fcf73e21f738 /gas/expr.c
parent9d5cc3e1de362a4cef9c02ed5685a9c8f8e29717 (diff)
downloadgdb-1035ad423ea11637f956e484a3f1cc4dbd493ec7.zip
gdb-1035ad423ea11637f956e484a3f1cc4dbd493ec7.tar.gz
gdb-1035ad423ea11637f956e484a3f1cc4dbd493ec7.tar.bz2
gas/
2009-07-28 Jan Beulich <jbeulich@novell.com> * expr.c (op_rank): Specify size. Remove O_md* initializers.
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 12f7191..8447c0b 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -1486,7 +1486,7 @@ static const operatorT op_encoding[256] = {
7 * / % << >>
8 unary - unary ~
*/
-static operator_rankT op_rank[] = {
+static operator_rankT op_rank[O_max] = {
0, /* O_illegal */
0, /* O_absent */
0, /* O_constant */
@@ -1517,22 +1517,6 @@ static operator_rankT op_rank[] = {
3, /* O_logical_and */
2, /* O_logical_or */
1, /* O_index */
- 0, /* O_md1 */
- 0, /* O_md2 */
- 0, /* O_md3 */
- 0, /* O_md4 */
- 0, /* O_md5 */
- 0, /* O_md6 */
- 0, /* O_md7 */
- 0, /* O_md8 */
- 0, /* O_md9 */
- 0, /* O_md10 */
- 0, /* O_md11 */
- 0, /* O_md12 */
- 0, /* O_md13 */
- 0, /* O_md14 */
- 0, /* O_md15 */
- 0, /* O_md16 */
};
/* Unfortunately, in MRI mode for the m68k, multiplication and