From: Kaz Kojima Date: Sat, 26 Jun 2004 05:25:38 +0000 (+0000) Subject: genattrtab.c (write_test_expr): Put a unsigned cast before the first operand for... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2e0a4503ad45451399fccd8dce197d3b96f862a;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b22693a90cf..cebde31bc92 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-26 Kaz Kojima + + * genattrtab.c (write_test_expr): Put a unsigned cast before + the first operand for GEU, GTU, LEU and LTU. + 2004-06-26 Kazu Hirata * c-typeck.c, cfgexpand.c, ddg.c, ddg.h, df.c, fold-const.c, 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: