Commit b2e0a450 by Kaz Kojima

genattrtab.c (write_test_expr): Put a unsigned cast before the first operand for…

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
parent 61ada8ae
2004-06-26 Kaz Kojima <kkojima@gcc.gnu.org>
* genattrtab.c (write_test_expr): Put a unsigned cast before
the first operand for GEU, GTU, LEU and LTU.
2004-06-26 Kazu Hirata <kazu@cs.umass.edu> 2004-06-26 Kazu Hirata <kazu@cs.umass.edu>
* c-typeck.c, cfgexpand.c, ddg.c, ddg.h, df.c, fold-const.c, * c-typeck.c, cfgexpand.c, ddg.c, ddg.h, df.c, fold-const.c,
......
...@@ -4571,9 +4571,14 @@ write_test_expr (rtx exp, int flags) ...@@ -4571,9 +4571,14 @@ write_test_expr (rtx exp, int flags)
switch (code) switch (code)
{ {
/* Binary operators. */ /* Binary operators. */
case GEU: case GTU:
case LEU: case LTU:
printf ("(unsigned) ");
/* Fall through. */
case EQ: case NE: case EQ: case NE:
case GE: case GT: case GEU: case GTU: case GE: case GT:
case LE: case LT: case LEU: case LTU: case LE: case LT:
comparison_operator = 1; comparison_operator = 1;
case PLUS: case MINUS: case MULT: case DIV: case MOD: case PLUS: case MINUS: case MULT: case DIV: case MOD:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment