diff options
author | Tristan Gingold | 2014-01-21 21:12:31 +0100 |
---|---|---|
committer | Tristan Gingold | 2014-01-21 21:12:31 +0100 |
commit | 53bccc62d510f2a1df7500b3a5d916ec08d99c91 (patch) | |
tree | ed39bc5d55ea0cd16ac6eef71869d8dc3610e900 /ortho/gcc/ortho-lang.c | |
parent | 9be190a594a97727b7aad44d19b9d6c9c6928dff (diff) | |
download | ghdl-53bccc62d510f2a1df7500b3a5d916ec08d99c91.tar.gz ghdl-53bccc62d510f2a1df7500b3a5d916ec08d99c91.tar.bz2 ghdl-53bccc62d510f2a1df7500b3a5d916ec08d99c91.zip |
Fix bug18810 (bitwise 'and' and 'not' for unsigned types).
Diffstat (limited to 'ortho/gcc/ortho-lang.c')
-rw-r--r-- | ortho/gcc/ortho-lang.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ortho/gcc/ortho-lang.c b/ortho/gcc/ortho-lang.c index 65640cb..5404afb 100644 --- a/ortho/gcc/ortho-lang.c +++ b/ortho/gcc/ortho-lang.c @@ -847,7 +847,7 @@ enum ON_op_kind { /* Binary operations. */ ON_And, - ON_Or, + ON_Or, ON_Xor, ON_And_Then, ON_Or_Else, @@ -879,13 +879,13 @@ static enum tree_code ON_op_to_TREE_CODE[ON_LAST] = { TRUNC_MOD_EXPR, FLOOR_MOD_EXPR, - TRUTH_AND_EXPR, - TRUTH_OR_EXPR, - TRUTH_XOR_EXPR, + BIT_AND_EXPR, + BIT_IOR_EXPR, + BIT_XOR_EXPR, TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, - TRUTH_NOT_EXPR, + BIT_NOT_EXPR, NEGATE_EXPR, ABS_EXPR, |