diff options
author | Ben Elliston <bje@au.ibm.com> | 2006-10-24 18:10:57 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2006-10-24 18:10:57 +0000 |
commit | 7b3835172a5274af86d77b420df557f290e01147 (patch) | |
tree | a5ea0cb0887bbf139b7488f92fd8d99f13b3717d /gas/expr.c | |
parent | faead5625efc1e8bacf407cf79cbc29261e4722b (diff) | |
download | gdb-7b3835172a5274af86d77b420df557f290e01147.zip gdb-7b3835172a5274af86d77b420df557f290e01147.tar.gz gdb-7b3835172a5274af86d77b420df557f290e01147.tar.bz2 |
* expr.c (expr): Replace O_add case in switch (op_left) explaining
why it can never occur.
Diffstat (limited to 'gas/expr.c')
-rw-r--r-- | gas/expr.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1785,7 +1785,9 @@ expr (int rankarg, /* Larger # is higher rank. */ case O_bit_or_not: resultP->X_add_number |= ~v; break; case O_bit_exclusive_or: resultP->X_add_number ^= v; break; case O_bit_and: resultP->X_add_number &= v; break; - case O_add: resultP->X_add_number += v; break; + /* Constant + constant (O_add) is handled by the + previous if statement for constant + X, so is omitted + here. */ case O_subtract: resultP->X_add_number -= v; break; case O_eq: resultP->X_add_number = |