diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2004-06-26 05:25:38 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2004-06-26 05:25:38 +0000 |
commit | b2e0a4503ad45451399fccd8dce197d3b96f862a (patch) | |
tree | a1562954787b555013cd8f6d5e635eca76c95a04 /gcc/genattrtab.c | |
parent | 61ada8ae18a600c8ace28058fe592ce9842f6237 (diff) | |
download | gcc-b2e0a4503ad45451399fccd8dce197d3b96f862a.zip gcc-b2e0a4503ad45451399fccd8dce197d3b96f862a.tar.gz gcc-b2e0a4503ad45451399fccd8dce197d3b96f862a.tar.bz2 |
genattrtab.c (write_test_expr): Put a unsigned cast before the first operand for GEU, GTU, LEU and LTU.
* genattrtab.c (write_test_expr): Put a unsigned cast before
the first operand for GEU, GTU, LEU and LTU.
From-SVN: r83704
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 245c655..d894253 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -4571,9 +4571,14 @@ write_test_expr (rtx exp, int flags) switch (code) { /* Binary operators. */ + case GEU: case GTU: + case LEU: case LTU: + printf ("(unsigned) "); + /* Fall through. */ + case EQ: case NE: - case GE: case GT: case GEU: case GTU: - case LE: case LT: case LEU: case LTU: + case GE: case GT: + case LE: case LT: comparison_operator = 1; case PLUS: case MINUS: case MULT: case DIV: case MOD: |