aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-01-10 15:36:17 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-01-10 15:36:17 -0800
commitab5ecb014bdb63fe04952fc7c3528315539da5e4 (patch)
tree84c40ea8f1600125c48a87be7277ad8f815bb4ba
parentc3104d75321f1511c3914f7f730839e9d8a52fea (diff)
downloadgcc-ab5ecb014bdb63fe04952fc7c3528315539da5e4.zip
gcc-ab5ecb014bdb63fe04952fc7c3528315539da5e4.tar.gz
gcc-ab5ecb014bdb63fe04952fc7c3528315539da5e4.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/combine.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c4a95f0..76dcc2e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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.
2003-01-10 Geoffrey Keating <geoffk@apple.com>
diff --git a/gcc/combine.c b/gcc/combine.c
index d6a8675..973d709 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -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));
}