summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-10 23:36:17 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-10 23:36:17 +0000
commitbfef7f63f8679206c045dec68acfe5adcdbf0692 (patch)
tree84c40ea8f1600125c48a87be7277ad8f815bb4ba
parentf68d1b24ca398d904eed470f00ccd38f0b719706 (diff)
downloadppe42-gcc-bfef7f63f8679206c045dec68acfe5adcdbf0692.tar.gz
ppe42-gcc-bfef7f63f8679206c045dec68acfe5adcdbf0692.zip
* combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
not INTEGRAL_MODE_P when widening extensions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61178 138bc75d-0d04-0410-961f-82ee72b054a4
-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 c4a95f02380..76dcc2efa3a 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 d6a86756ee9..973d7095bcb 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));
}
OpenPOWER on IntegriCloud