diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-06-21 18:25:57 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-06-21 18:25:57 +0200 |
commit | 146aef0b3998e76f16c3ab8255d1caa3dcb4c870 (patch) | |
tree | 9c216d752e228b140bcd643fe2591b081c4af049 /libjava/gnu/gcj/convert | |
parent | c0503294bc105e7f0d6be22443abd3ef07d4aff1 (diff) | |
download | gcc-146aef0b3998e76f16c3ab8255d1caa3dcb4c870.zip gcc-146aef0b3998e76f16c3ab8255d1caa3dcb4c870.tar.gz gcc-146aef0b3998e76f16c3ab8255d1caa3dcb4c870.tar.bz2 |
re PR middle-end/49489 (gcc.c-torture/execute/builtin-bitops-1.c fails on x86_64-linux)
PR middle-end/49489
* builtins.c (expand_builtin_unop): Call expand_unop with 0 as
unsignedp argument instead of 1 for clrsb_optab.
(fold_builtin_bitop): Fix masking for width > HOST_BITS_PER_WIDE_INT
and < 2 * HOST_BITS_PER_WIDE_INT. Optimize BUILT_IN_CLRSB*.
(fold_builtin_1): Call fold_builtin_binop for BUILT_IN_CLRSB*.
* optabs.c (widen_leading): Call widen_operand and expand_unop
with 0 as unsignedp argument instead of 1 for clrsb_optab.
(expand_unop): Subtract difference of mode sizes also for
clrsb_optab.
From-SVN: r175265
Diffstat (limited to 'libjava/gnu/gcj/convert')
0 files changed, 0 insertions, 0 deletions