+2002-06-17 Richard Henderson <rth@redhat.com>
+
+ PR target/6922
+ * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.
+
2002-06-17 Tom Tromey <tromey@redhat.com>
* dwarfout.c: Include function.h.
build (TRUNC_DIV_EXPR, t,
make_tree (t, XEXP (x, 0)),
make_tree (t, XEXP (x, 1)))));
+
+ case SIGN_EXTEND:
+ case ZERO_EXTEND:
+ t = (*lang_hooks.types.type_for_mode) (GET_MODE (XEXP (x, 0)),
+ GET_CODE (x) == ZERO_EXTEND);
+ return fold (convert (type, make_tree (t, XEXP (x, 0))));
+
default:
t = make_node (RTL_EXPR);
TREE_TYPE (t) = type;