diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-06 14:21:51 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-06 14:21:51 +0000 |
commit | e4b695067a91a20125e913c88865ff81506709fa (patch) | |
tree | eb3fbdda242bae62e25ae4f0832be5d62cfcbeca /gcc/simplify-rtx.c | |
parent | f92430e02ae8a814b88d7f023049ed0c72263c70 (diff) | |
download | gcc-e4b695067a91a20125e913c88865ff81506709fa.tar.gz |
* simplify-rtx.c (simplify_ternary_operation): Remove dead code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175918 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 6a5ec1a1bfa..232776f5ade 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -4970,15 +4970,6 @@ simplify_ternary_operation (enum rtx_code code, enum machine_mode mode, val |= ~ (((unsigned HOST_WIDE_INT) 1 << INTVAL (op1)) - 1); } - /* Clear the bits that don't belong in our mode, - unless they and our sign bit are all one. - So we get either a reasonable negative value or a reasonable - unsigned value for this mode. */ - if (width < HOST_BITS_PER_WIDE_INT - && ((val & ((unsigned HOST_WIDE_INT) (-1) << (width - 1))) - != ((unsigned HOST_WIDE_INT) (-1) << (width - 1)))) - val &= ((unsigned HOST_WIDE_INT) 1 << width) - 1; - return gen_int_mode (val, mode); } break; |