diff options
author | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-26 05:25:38 +0000 |
---|---|---|
committer | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-26 05:25:38 +0000 |
commit | c9cfbbf9320de6cb012197106450aaa8e8b7702d (patch) | |
tree | a1562954787b555013cd8f6d5e635eca76c95a04 /gcc/genattrtab.c | |
parent | 2c763ed45031e6a2183d320ac62cc8bcdaf45445 (diff) | |
download | gcc-c9cfbbf9320de6cb012197106450aaa8e8b7702d.tar.gz |
* genattrtab.c (write_test_expr): Put a unsigned cast before
the first operand for GEU, GTU, LEU and LTU.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83704 138bc75d-0d04-0410-961f-82ee72b054a4
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 245c65599b1..d89425381de 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: |