diff options
author | Jakub Jelinek <jakub@redhat.com> | 2014-10-28 14:51:28 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2014-10-28 14:51:28 +0100 |
commit | 8ae9ab2b11d25d6ae99af9b1abfd56db9d9948ea (patch) | |
tree | e660de05b85d32d6e26e89fd9e21b832f8040d88 /gcc/tree-ssa-math-opts.c | |
parent | 4519ff2ed42b08c79ff4fb84043860828797d23a (diff) | |
download | gcc-8ae9ab2b11d25d6ae99af9b1abfd56db9d9948ea.zip gcc-8ae9ab2b11d25d6ae99af9b1abfd56db9d9948ea.tar.gz gcc-8ae9ab2b11d25d6ae99af9b1abfd56db9d9948ea.tar.bz2 |
tree-ssa-math-opts.c (find_bswap_or_nop_1): Use uint64_t type for the left shift in CASE_CONVERT case.
* tree-ssa-math-opts.c (find_bswap_or_nop_1): Use uint64_t
type for the left shift in CASE_CONVERT case.
From-SVN: r216793
Diffstat (limited to 'gcc/tree-ssa-math-opts.c')
-rw-r--r-- | gcc/tree-ssa-math-opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index 495a9fd..e0f2924 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -1926,7 +1926,7 @@ find_bswap_or_nop_1 (gimple stmt, struct symbolic_number *n, int limit) if (!TYPE_UNSIGNED (n->type) && type_size > old_type_size && HEAD_MARKER (n->n, old_type_size)) for (i = 0; i < type_size - old_type_size; i++) - n->n |= MARKER_BYTE_UNKNOWN + n->n |= (uint64_t) MARKER_BYTE_UNKNOWN << ((type_size - 1 - i) * BITS_PER_MARKER); if (type_size < 64 / BITS_PER_MARKER) |