diff options
author | ramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-12 16:58:09 +0000 |
---|---|---|
committer | ramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-12 16:58:09 +0000 |
commit | df79f48f5d1e8b08188bc276b3cda6fa1aac7e07 (patch) | |
tree | fab9a0881ad9f0a9f8bbab4929f6a3bf2a7c24fd | |
parent | 7f3857848224929268239eaff4544a32eef5de94 (diff) | |
download | gcc-df79f48f5d1e8b08188bc276b3cda6fa1aac7e07.tar.gz |
Fix PR target/48328 part 1
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177705 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/arm/arm.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b2c447b955..9cc7b7d564e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> + + PR target/48328 + * config/arm/arm.h (CASE_VECTOR_SHORTEN_MODE): Fix distance + for tbh instructions. + 2011-08-12 Diego Novillo <dnovillo@google.com> * data-streamer.h (streamer_write_zero): Rename from output_zero. diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 869b9a94712..0a6e6f2ac50 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -1906,7 +1906,7 @@ typedef struct : min >= -4096 && max < 4096 \ ? (ADDR_DIFF_VEC_FLAGS (body).offset_unsigned = 0, HImode) \ : SImode) \ - : ((min < 0 || max >= 0x2000 || !TARGET_THUMB2) ? SImode \ + : ((min < 0 || max >= 0x20000 || !TARGET_THUMB2) ? SImode \ : (max >= 0x200) ? HImode \ : QImode)) |