diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-01 14:05:17 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-01 14:05:17 +0000 |
commit | 6dee6ab1ca31293fbb6b0769bba4618debebedd5 (patch) | |
tree | ab15a982d4a269f4bc6ceb4a128188ffa1ec7bfc /gcc/simplify-rtx.c | |
parent | 4bd488b1409579d8bef4aae35d348ec2213eae6a (diff) | |
download | gcc-6dee6ab1ca31293fbb6b0769bba4618debebedd5.tar.gz |
richi's fixes for c++ bootstrap
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160105 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index b38ab2e5991..c0859520d73 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -4875,7 +4875,7 @@ simplify_immed_subreg (enum machine_mode outermode, rtx op, a mistake.) */ { unsigned byte = (elem * elem_bitsize) / BITS_PER_UNIT; - unsigned ibyte = (((num_elem - 1 - elem) * elem_bitsize) + unsigned ibyte ATTRIBUTE_UNUSED = (((num_elem - 1 - elem) * elem_bitsize) / BITS_PER_UNIT); unsigned word_byte = WORDS_BIG_ENDIAN ? ibyte : byte; unsigned subword_byte = BYTES_BIG_ENDIAN ? ibyte : byte; @@ -4979,7 +4979,7 @@ simplify_immed_subreg (enum machine_mode outermode, rtx op, will already have offset 0. */ if (GET_MODE_SIZE (innermode) >= GET_MODE_SIZE (outermode)) { - unsigned ibyte = (GET_MODE_SIZE (innermode) - GET_MODE_SIZE (outermode) + unsigned ibyte ATTRIBUTE_UNUSED = (GET_MODE_SIZE (innermode) - GET_MODE_SIZE (outermode) - byte); unsigned word_byte = WORDS_BIG_ENDIAN ? ibyte : byte; unsigned subword_byte = BYTES_BIG_ENDIAN ? ibyte : byte; @@ -5024,7 +5024,7 @@ simplify_immed_subreg (enum machine_mode outermode, rtx op, a mistake.) */ { unsigned byte = (elem * elem_bitsize) / BITS_PER_UNIT; - unsigned ibyte = (((num_elem - 1 - elem) * elem_bitsize) + unsigned ibyte ATTRIBUTE_UNUSED = (((num_elem - 1 - elem) * elem_bitsize) / BITS_PER_UNIT); unsigned word_byte = WORDS_BIG_ENDIAN ? ibyte : byte; unsigned subword_byte = BYTES_BIG_ENDIAN ? ibyte : byte; |