combine.c (make_compound_operation): Use SCALAR_INT_MODE_P, not INTEGRAL_MODE_P when widening extensions.

* combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
        not INTEGRAL_MODE_P when widening extensions.

From-SVN: r61178
This commit is contained in:
Richard Henderson 2003-01-10 15:36:17 -08:00 committed by Richard Henderson
parent c3104d7532
commit ab5ecb014b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-01-10 Richard Henderson <rth@redhat.com>
* combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
not INTEGRAL_MODE_P when widening extensions.
2003-01-10 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.

View File

@ -6716,7 +6716,7 @@ make_compound_operation (x, in_code)
|| (GET_MODE_SIZE (mode) >
GET_MODE_SIZE (GET_MODE (XEXP (tem, 0)))))
{
if (! INTEGRAL_MODE_P (mode))
if (! SCALAR_INT_MODE_P (mode))
break;
tem = gen_rtx_fmt_e (GET_CODE (tem), mode, XEXP (tem, 0));
}