aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-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));
}