diff options
author | Richard Henderson <rth@redhat.com> | 2004-07-09 17:24:23 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-07-09 17:24:23 -0700 |
commit | 04b80a8885ee940c0f07e5a9c61324bfbfb9b348 (patch) | |
tree | 69c193dfea1077c9ae665c55a747e1739fc8ce21 /gcc | |
parent | 4c6a63ccbcc921a9cdbb61a636cd4b1b5eb5ff7c (diff) | |
download | gcc-04b80a8885ee940c0f07e5a9c61324bfbfb9b348.zip gcc-04b80a8885ee940c0f07e5a9c61324bfbfb9b348.tar.gz gcc-04b80a8885ee940c0f07e5a9c61324bfbfb9b348.tar.bz2 |
simplify-rtx.c (simplify_const_relational_operation): Only look at bounds of scalar integers.
* simplify-rtx.c (simplify_const_relational_operation): Only
look at bounds of scalar integers.
From-SVN: r84427
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2f19f93..245bf02 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-09 Richard Henderson <rth@redhat.com> + + * simplify-rtx.c (simplify_const_relational_operation): Only + look at bounds of scalar integers. + 2004-07-09 Jan Beulich <jbeulich@novell.com> * config/i386/i386.md (sse2_clflush): Use correct operand for clflush. diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 3789f33..f40e695 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -2974,7 +2974,7 @@ simplify_const_relational_operation (enum rtx_code code, else { /* Optimize comparisons with upper and lower bounds. */ - if (INTEGRAL_MODE_P (mode) + if (SCALAR_INT_MODE_P (mode) && GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT) { rtx mmin, mmax; |